X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_internal_egl.h;h=efe014724d914097398d15a4085e8f6937dec822;hb=af47c3f93c7834b4006c49ec9df6a6ffdd3025de;hp=a10383d9089825ccd2594b23e7470ca15e335086;hpb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;p=freeglut diff --git a/src/egl/fg_internal_egl.h b/src/egl/fg_internal_egl.h index a10383d..efe0147 100644 --- a/src/egl/fg_internal_egl.h +++ b/src/egl/fg_internal_egl.h @@ -1,5 +1,5 @@ /* - * freeglut_internal_android.h + * fg_internal_android.h * * The freeglut library private include file. * @@ -29,12 +29,14 @@ #include /* -- 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