mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-15 07:39:50 +00:00
added additional quickprof timer for rendering
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user