projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement EGL fgPlatformGlutGetModeValues and partial/reusable fgPlatformGlutGet
[freeglut]
/
src
/
android
/
fg_main_android.c
diff --git
a/src/android/fg_main_android.c
b/src/android/fg_main_android.c
index
83aac13
..
3f973f2
100644
(file)
--- 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");
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();
/* Make ProcessSingleEvent detect the new size, only available
after the next SwapBuffer */
glutPostRedisplay();