src/video/x11/SDL_x11gl.c
branchSDL-1.2
changeset 4183 39e748f251c6
parent 4159 a1b03ba2fcd0
child 4268 d48035d857d3
     1.1 --- a/src/video/x11/SDL_x11gl.c	Fri Aug 07 10:20:40 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Sat Sep 12 06:25:36 2009 +0000
     1.3 @@ -45,14 +45,21 @@
     1.4  #define GLX_SAMPLES_ARB                    100001
     1.5  #endif
     1.6  
     1.7 -#ifndef GLX_EXT_visual_rating
     1.8 -#define GLX_EXT_visual_rating
     1.9 +/* GLX_EXT_visual_rating stuff that might not be in the system headers... */
    1.10 +#ifndef GLX_VISUAL_CAVEAT_EXT
    1.11  #define GLX_VISUAL_CAVEAT_EXT              0x20
    1.12 +#endif
    1.13 +#ifndef GLX_NONE_EXT
    1.14  #define GLX_NONE_EXT                       0x8000
    1.15 +#endif
    1.16 +#ifndef GLX_SLOW_VISUAL_EXT
    1.17  #define GLX_SLOW_VISUAL_EXT                0x8001
    1.18 +#endif
    1.19 +#ifndef GLX_NON_CONFORMANT_VISUAL_EXT
    1.20  #define GLX_NON_CONFORMANT_VISUAL_EXT      0x800D
    1.21  #endif
    1.22  
    1.23 +
    1.24  #if SDL_VIDEO_OPENGL_GLX
    1.25  static int glXExtensionSupported(_THIS, const char *extension)
    1.26  {