fix build issue

This commit is contained in:
erwincoumans
2015-05-02 11:42:43 -07:00
parent 551709a74b
commit 1215d4b01c

View File

@@ -280,7 +280,8 @@ void selectDemo(int demoIndex)
s_parameterInterface->removeAllParameters();
int option = gAllExamples->getExampleOption(demoIndex);
s_guiHelper= new OpenGLGuiHelper(s_app, sUseOpenGL2);
sCurrentDemo = (*func)(CommonExampleOptions(s_guiHelper, option));
CommonExampleOptions options(s_guiHelper, option);
sCurrentDemo = (*func)(options);
if (sCurrentDemo)
{
if (gui)