On-screen Profiler / Debug visualizations in progress

Fixed a bug that caused framerate to drop drastically by executing an additional render pass.
This commit is contained in:
2013-03-21 19:58:35 -07:00
parent 98df6e7e87
commit a23b39a178
24 changed files with 147 additions and 42 deletions

View File

@@ -202,6 +202,7 @@ void KRContext::endFrame(float deltaTime)
{
m_pTextureManager->endFrame(deltaTime);
m_pAnimationManager->endFrame(deltaTime);
m_pModelManager->endFrame(deltaTime);
rotateBuffers(true);
m_current_frame++;
m_absolute_time += deltaTime;
@@ -216,3 +217,4 @@ float KRContext::getAbsoluteTime() const
{
return m_absolute_time;
}