Fix random crash
[freeglut] / src / android / fg_main_android.c
index 7016755..acdba1f 100644 (file)
@@ -330,7 +330,6 @@ void handle_cmd(struct android_app* app, int32_t cmd) {
     /* 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