diff --git a/Demos/CcdPhysicsDemo/CcdPhysicsDemo.cpp b/Demos/CcdPhysicsDemo/CcdPhysicsDemo.cpp index 826c35e22..271963ee1 100644 --- a/Demos/CcdPhysicsDemo/CcdPhysicsDemo.cpp +++ b/Demos/CcdPhysicsDemo/CcdPhysicsDemo.cpp @@ -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();