summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/SharedVertexBuffer.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-10-31 19:52:03 +0800
committerchai <chaifix@163.com>2021-10-31 19:52:03 +0800
commit9e0ad4279c8ccf2f419694e4ca15a1372e8b20d6 (patch)
tree8dd4a0e18f33f907ad81d8c12468e4a7da1248c1 /Runtime/Graphics/SharedVertexBuffer.cpp
parente5ffcfb43231c55c1cdd71566e622de7583160a9 (diff)
*rename function name
Diffstat (limited to 'Runtime/Graphics/SharedVertexBuffer.cpp')
-rw-r--r--Runtime/Graphics/SharedVertexBuffer.cpp2
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]);