disable CProfileManager, might reduce some multi-threading conflicts

This commit is contained in:
erwin coumans
2016-07-19 15:55:52 -07:00
parent 2302709e2d
commit 25a1714754
4 changed files with 27 additions and 18 deletions

View File

@@ -265,8 +265,9 @@ public:
virtual void stepSimulation(float deltaTime)
{
#ifndef BT_NO_PROFILE
CProfileManager::Reset();
#endif
@@ -314,7 +315,9 @@ public:
m_app->m_renderer->writeTransforms();
#ifndef BT_NO_PROFILE
CProfileManager::Increment_Frame_Counter();
#endif
}
virtual void renderScene()
{