Update main_opengl_single_example.cpp
Apply fix from PR #2526 manually, thanks to Andrew Meadows
This commit is contained in:
@@ -94,7 +94,7 @@ int main(int argc, char* argv[])
|
|||||||
app->m_instancingRenderer->updateCamera(app->getUpAxis());
|
app->m_instancingRenderer->updateCamera(app->getUpAxis());
|
||||||
|
|
||||||
btScalar dtSec = btScalar(clock.getTimeInSeconds());
|
btScalar dtSec = btScalar(clock.getTimeInSeconds());
|
||||||
if (dtSec < 0.1)
|
if (dtSec > 0.1)
|
||||||
dtSec = 0.1;
|
dtSec = 0.1;
|
||||||
|
|
||||||
example->stepSimulation(dtSec);
|
example->stepSimulation(dtSec);
|
||||||
|
|||||||
Reference in New Issue
Block a user