Fixed bug causing vertex buffers not to be bound on first draw call if the last draw call of the prior frame used the same buffer.

This commit is contained in:
2022-07-20 22:54:27 -07:00
parent 46f8af662e
commit b1384e0106

View File

@@ -279,7 +279,7 @@ void KRMeshManager::startFrame(float deltaTime)
void KRMeshManager::endFrame(float deltaTime) void KRMeshManager::endFrame(float deltaTime)
{ {
m_currentVBO = nullptr;
} }
void KRMeshManager::doStreaming(long &memoryRemaining, long &memoryRemainingThisFrame) void KRMeshManager::doStreaming(long &memoryRemaining, long &memoryRemainingThisFrame)