diff options
-rw-r--r-- | Data/Editor.exe | bin | 2385408 -> 0 bytes | |||
-rw-r--r-- | Runtime/Graphics/CustomVertexLayout.h | 2 | ||||
-rw-r--r-- | Runtime/Graphics/SharedVertexBuffer.cpp | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Data/Editor.exe b/Data/Editor.exe Binary files differdeleted file mode 100644 index e59406e..0000000 --- a/Data/Editor.exe +++ /dev/null diff --git a/Runtime/Graphics/CustomVertexLayout.h b/Runtime/Graphics/CustomVertexLayout.h index d72c71d..cd68a27 100644 --- a/Runtime/Graphics/CustomVertexLayout.h +++ b/Runtime/Graphics/CustomVertexLayout.h @@ -13,7 +13,7 @@ struct CustomVertexLayout std::vector<VertexAttributeDescriptor> attributes; // ÖØÖÃpointer£¨startOffset£©Îª0 - void ResetPointer() + void RestorePointer() { for (int i = 0; i < attributes.size(); ++i) { 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]); |