X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fegl%2Ffg_internal_egl.h;h=a10383d9089825ccd2594b23e7470ca15e335086;hb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;hp=1a4def8b8aa60588513f89b3a701a5e2c788abb4;hpb=e194bd1249867a1119e9e3f37e4e1a9886e956bc;p=freeglut diff --git a/src/egl/fg_internal_egl.h b/src/egl/fg_internal_egl.h index 1a4def8..a10383d 100644 --- a/src/egl/fg_internal_egl.h +++ b/src/egl/fg_internal_egl.h @@ -30,16 +30,11 @@ /* -- GLOBAL TYPE DEFINITIONS ---------------------------------------------- */ /* The structure used by display initialization in freeglut_init.c */ -typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay; struct tagSFG_Window; -struct tagSFG_PlatformDisplay +struct tagSFG_PlatformDisplayEGL { /* Used to initialize and deinitialize EGL */ - EGLDisplay eglDisplay; - EGLContext eglContext; - EGLConfig eglContextConfig; - EGLint eglContextFormat; - struct tagSFG_Window* single_window; + EGLDisplay Display; }; @@ -49,11 +44,11 @@ struct tagSFG_PlatformDisplay */ typedef EGLNativeWindowType SFG_WindowHandleType ; typedef EGLContext SFG_WindowContextType ; -typedef struct tagSFG_PlatformContext SFG_PlatformContext; -/* SFG_PlatformContext is used for SFG_Window.Window */ -struct tagSFG_PlatformContext +struct tagSFG_PlatformContextEGL { - EGLSurface eglSurface; + EGLSurface Surface; + EGLConfig ContextConfig; + EGLint ContextFormat; };