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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user