Update main_opengl_single_example.cpp
Apply fix from PR #2526 manually, thanks to Andrew Meadows
This commit is contained in:
1 parent
6c722f8f94
commit
08321b96ba
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user