X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fx11%2Ffg_internal_x11.h;fp=src%2Fx11%2Ffg_internal_x11.h;h=9919ae5eb6744d4eb0d8fca69a2bb701528daf0c;hb=cb1e59cf5e6ac8034ae91abfd320874004a44c88;hp=0d969f477c1428c8ea6df26d3b216e0e40ed1576;hpb=323957de8fd714ca523b8ff45dbb711da09d6693;p=freeglut diff --git a/src/x11/fg_internal_x11.h b/src/x11/fg_internal_x11.h index 0d969f4..9919ae5 100644 --- a/src/x11/fg_internal_x11.h +++ b/src/x11/fg_internal_x11.h @@ -92,10 +92,8 @@ struct tagSFG_PlatformDisplay * Make "freeglut" window handle and context types so that we don't need so * much conditionally-compiled code later in the library. */ +#ifndef EGL_VERSION_1_0 typedef Window SFG_WindowHandleType ; -#ifdef EGL_VERSION_1_0 -typedef EGLContext SFG_WindowContextType ; -#else typedef GLXContext SFG_WindowContextType ; #endif typedef struct tagSFG_PlatformContext SFG_PlatformContext;