Move tagSFG_PlatformWindowState from EGL to Android
authorSylvain Beucler <beuc@beuc.net>
Sat, 17 Mar 2012 11:21:56 +0000 (11:21 +0000)
committerSylvain Beucler <beuc@beuc.net>
Sat, 17 Mar 2012 11:21:56 +0000 (11:21 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1176 7f0cb862-5218-0410-a997-914c9d46530a

src/android/fg_internal_android.h
src/egl/fg_internal_egl.h

index e13b675..a0441b5 100644 (file)
@@ -100,4 +100,10 @@ struct tagSFG_PlatformJoystick
     int          fd;
 };
 
+/* Window's state description. This structure should be kept portable. */
+typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
+struct tagSFG_PlatformWindowState
+{
+};
+
 #endif  /* FREEGLUT_INTERNAL_ANDROID_H */
index f2015b9..3a0ade9 100644 (file)
@@ -50,13 +50,4 @@ struct tagSFG_PlatformContextEGL
   EGLConfig           Config;
 };
 
-
-/* Window's state description. This structure should be kept portable. */
-typedef struct tagSFG_PlatformWindowState SFG_PlatformWindowState;
-struct tagSFG_PlatformWindowState
-{
-    int             OldWidth;           /* Window width from before a resize */
-    int             OldHeight;          /*   "    height  "    "    "   "    */
-};
-
 #endif