Updated BlackBerry references to make note of the change from FREEGLUT_GLES2/1 to...
[freeglut] / src / egl / fg_internal_egl.h
index a10383d..8106a70 100644 (file)
@@ -35,6 +35,8 @@ 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