android: make code 're-entrant' - i.e. NativeActivity can restart the program without...
[freeglut] / src / android / fg_structure_android.c
index b7acd20..e0a6eb8 100644 (file)
@@ -33,4 +33,6 @@
 void fgPlatformCreateWindow ( SFG_Window *window )
 {
   fghPlatformCreateWindowEGL(window);
+  window->State.pWState.LastWidth = -1;
+  window->State.pWState.LastHeight = -1;
 }