fix build issue
This commit is contained in:
@@ -280,7 +280,8 @@ void selectDemo(int demoIndex)
|
|||||||
s_parameterInterface->removeAllParameters();
|
s_parameterInterface->removeAllParameters();
|
||||||
int option = gAllExamples->getExampleOption(demoIndex);
|
int option = gAllExamples->getExampleOption(demoIndex);
|
||||||
s_guiHelper= new OpenGLGuiHelper(s_app, sUseOpenGL2);
|
s_guiHelper= new OpenGLGuiHelper(s_app, sUseOpenGL2);
|
||||||
sCurrentDemo = (*func)(CommonExampleOptions(s_guiHelper, option));
|
CommonExampleOptions options(s_guiHelper, option);
|
||||||
|
sCurrentDemo = (*func)(options);
|
||||||
if (sCurrentDemo)
|
if (sCurrentDemo)
|
||||||
{
|
{
|
||||||
if (gui)
|
if (gui)
|
||||||
|
|||||||
Reference in New Issue
Block a user