VBO Swapping TTY message disabled except for DEBUG builds.

Added comment with details on what actions to take if this message appears in the TTY.
This commit is contained in:
2014-01-14 21:46:17 -08:00
parent 3d907e06d5
commit 33362c1c2d

View File

@@ -233,7 +233,10 @@ void KRMeshManager::bindVBO(KRDataBlock &data, KRDataBlock &index_data, int vert
}
m_vboMemUsed -= firstVBO.size;
m_vbosPool.erase(first_itr);
#if defined(DEBUG)
// If you receive this message multiple times per frame, then there are too many vertices. Consider using LOD models or optimizing for occlusion culling.
fprintf(stderr, "VBO Swapping...\n");
#endif
}
m_currentVBO.vao_handle = -1;