added additional quickprof timer for rendering
This commit is contained in:
@@ -731,8 +731,15 @@ void clientMoveAndDisplay()
|
|||||||
|
|
||||||
physicsEnvironmentPtr->proceedDeltaTime(0.f,deltaTime);
|
physicsEnvironmentPtr->proceedDeltaTime(0.f,deltaTime);
|
||||||
|
|
||||||
|
#ifdef USE_QUICKPROF
|
||||||
|
Profiler::beginBlock("render");
|
||||||
|
#endif //USE_QUICKPROF
|
||||||
|
|
||||||
renderme();
|
renderme();
|
||||||
|
|
||||||
|
#ifdef USE_QUICKPROF
|
||||||
|
Profiler::endBlock("render");
|
||||||
|
#endif
|
||||||
glFlush();
|
glFlush();
|
||||||
glutSwapBuffers();
|
glutSwapBuffers();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user