diff --git a/examples/BasicDemo/main.cpp b/examples/BasicDemo/main.cpp index cf4dd5baa..8ab524b19 100644 --- a/examples/BasicDemo/main.cpp +++ b/examples/BasicDemo/main.cpp @@ -28,7 +28,8 @@ int main(int argc, char* argv[]) DummyGUIHelper noGfx; - CommonExampleInterface* example = BasicExampleCreateFunc(CommonExampleOptions(&noGfx)); + CommonExampleOptions options(&noGfx); + CommonExampleInterface* example = BasicExampleCreateFunc(options); example->initPhysics(); example->stepSimulation(1.f/60.f);