added additional quickprof timer for rendering

This commit is contained in:
ejcoumans
2006-08-17 09:41:56 +00:00
parent 8cd999a189
commit ee3ca06b20

View File

@@ -731,8 +731,15 @@ void clientMoveAndDisplay()
physicsEnvironmentPtr->proceedDeltaTime(0.f,deltaTime);
renderme();
#ifdef USE_QUICKPROF
Profiler::beginBlock("render");
#endif //USE_QUICKPROF
renderme();
#ifdef USE_QUICKPROF
Profiler::endBlock("render");
#endif
glFlush();
glutSwapBuffers();