Update main_opengl_single_example.cpp

Apply fix from PR #2526 manually, thanks to  Andrew Meadows
This commit is contained in:
erwincoumans
2019-12-11 13:59:44 -08:00
committed by GitHub
parent 6c722f8f94
commit 08321b96ba

View File

@@ -94,7 +94,7 @@ int main(int argc, char* argv[])
app->m_instancingRenderer->updateCamera(app->getUpAxis());
btScalar dtSec = btScalar(clock.getTimeInSeconds());
if (dtSec < 0.1)
if (dtSec > 0.1)
dtSec = 0.1;
example->stepSimulation(dtSec);