diff options
author | chai <chaifix@163.com> | 2021-10-31 19:52:03 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-31 19:52:03 +0800 |
commit | 9e0ad4279c8ccf2f419694e4ca15a1372e8b20d6 (patch) | |
tree | 8dd4a0e18f33f907ad81d8c12468e4a7da1248c1 /Runtime/Graphics/SharedVertexBuffer.cpp | |
parent | e5ffcfb43231c55c1cdd71566e622de7583160a9 (diff) |
*rename function name
Diffstat (limited to 'Runtime/Graphics/SharedVertexBuffer.cpp')
-rw-r--r-- | Runtime/Graphics/SharedVertexBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Graphics/SharedVertexBuffer.cpp b/Runtime/Graphics/SharedVertexBuffer.cpp index e787630..976fb70 100644 --- a/Runtime/Graphics/SharedVertexBuffer.cpp +++ b/Runtime/Graphics/SharedVertexBuffer.cpp @@ -173,7 +173,7 @@ void SharedVertexBuffer::DrawChunk(CustomVertexLayout& layout) VertexLayout::SetupCustomVertexLayout(layout); - layout.ResetPointer(); + layout.RestorePointer(); const void* indexPtr = m_CurIB ? 0 : (m_CurIBData.empty() ? 0 : &m_CurIBData[0]); |