X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_internal_egl.h;h=8106a705beab8e52147508f5de6e302e0ad4f886;hb=d9ec500965f477d0cb859dc09f0bc540f7ae0730;hp=a10383d9089825ccd2594b23e7470ca15e335086;hpb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;p=freeglut diff --git a/src/egl/fg_internal_egl.h b/src/egl/fg_internal_egl.h index a10383d..8106a70 100644 --- a/src/egl/fg_internal_egl.h +++ b/src/egl/fg_internal_egl.h @@ -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