X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_main_android.c;fp=src%2Fandroid%2Ffg_main_android.c;h=09406d56ec3d202c3032613bd4d236c5e16d8f9f;hb=5e0c2363eddcc91af3574ea5777e686e8998e390;hp=84513a6bcc901243f452d86a9998e5ca62934da5;hpb=d3731342100824e56908e7014f9fbceb3be78358;p=freeglut diff --git a/src/android/fg_main_android.c b/src/android/fg_main_android.c index 84513a6..09406d5 100644 --- a/src/android/fg_main_android.c +++ b/src/android/fg_main_android.c @@ -368,7 +368,7 @@ void handle_cmd(struct android_app* app, int32_t cmd) { /* The application is being hidden, but may be restored */ LOGI("handle_cmd: APP_CMD_TERM_WINDOW"); fghPlatformCloseWindowEGL(window); - window->State.NeedToFixMyNameInitContext = GL_TRUE; + window->State.NeedToInitContext = GL_TRUE; fgDisplay.pDisplay.single_native_window = NULL; break; case APP_CMD_STOP: @@ -474,8 +474,8 @@ void fgPlatformProcessSingleEvent ( void ) fgPlatformOpenWindow(window, "", GL_FALSE, 0, 0, GL_FALSE, 0, 0, GL_FALSE, GL_FALSE); /* TODO: INVOKE_WCB(*window, Pause?); */ /* TODO: INVOKE_WCB(*window, Resume?); */ - if (!FETCH_WCB(*window, FixMyNameInitContext) - fgWarning("Resuming application, but no callback to reload context resources (glutFixMyNameInitContextFunc)"); + if (!FETCH_WCB(*window, InitContext)) + fgWarning("Resuming application, but no callback to reload context resources (glutInitContextFunc)"); } } }