/* The window is being shown, get it ready. */\r
LOGI("handle_cmd: APP_CMD_INIT_WINDOW %p", app->window);\r
fgDisplay.pDisplay.single_native_window = app->window;\r
- window->State.WorkMask |= GLUT_INIT_WORK;\r
/* start|resume: glPlatformOpenWindow was waiting for Handle to be\r
defined and will now continue processing */\r
break;\r
if (window != NULL && window->Window.Handle != NULL) {\r
int32_t width = ANativeWindow_getWidth(window->Window.Handle);\r
int32_t height = ANativeWindow_getHeight(window->Window.Handle);\r
- fghOnReshapeNotify(width,height);\r
+ fghOnReshapeNotify(window,width,height,GL_FALSE);\r
}\r
\r
/* Read pending event. */\r