X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_main_android.c;h=3f973f2b076934534a08d6f4c99cf9e249ac9ca8;hb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;hp=83aac136f33b8679004908d2119fec6cab3c5266;hpb=7fbb15bc63c7937cab772bd942883e3811acbabf;p=freeglut diff --git a/src/android/fg_main_android.c b/src/android/fg_main_android.c index 83aac13..3f973f2 100644 --- a/src/android/fg_main_android.c +++ b/src/android/fg_main_android.c @@ -329,7 +329,7 @@ void handle_cmd(struct android_app* app, int32_t cmd) { break; case APP_CMD_WINDOW_RESIZED: LOGI("handle_cmd: APP_CMD_WINDOW_RESIZED"); - if (fgDisplay.pDisplay.single_window->Window.pContext.eglSurface != EGL_NO_SURFACE) + if (fgDisplay.pDisplay.single_window->Window.pContext.egl.Surface != EGL_NO_SURFACE) /* Make ProcessSingleEvent detect the new size, only available after the next SwapBuffer */ glutPostRedisplay();