Applied Christian's change to drop unnecessary dependency to X11 libraries we
[freeglut] / src / egl / fg_internal_egl.h
index a10383d..efe0147 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * freeglut_internal_android.h
+ * fg_internal_android.h
  *
  * The freeglut library private include file.
  *
 #include <EGL/egl.h>
 
 /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */
-/* The structure used by display initialization in freeglut_init.c */
+/* The structure used by display initialization in fg_init.c */
 struct tagSFG_Window;
 struct tagSFG_PlatformDisplayEGL
 {
   /* Used to initialize and deinitialize EGL */
   EGLDisplay          Display;
+  EGLint              MajorVersion;
+  EGLint              MinorVersion;
 };
 
 
@@ -47,17 +49,7 @@ typedef EGLContext SFG_WindowContextType ;
 struct tagSFG_PlatformContextEGL
 {
   EGLSurface          Surface;
-  EGLConfig           ContextConfig;
-  EGLint              ContextFormat;
-};
-
-
-/* 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  "    "    "   "    */
+  EGLConfig           Config;
 };
 
 #endif