Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Patched X11 code to compile on Mac OS X 10.6 SDK.
  • Loading branch information
icculus committed Sep 12, 2009
1 parent 249b611 commit cf4fdf2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/video/x11/SDL_x11gl.c
Expand Up @@ -45,14 +45,21 @@
#define GLX_SAMPLES_ARB 100001
#endif

#ifndef GLX_EXT_visual_rating
#define GLX_EXT_visual_rating
/* GLX_EXT_visual_rating stuff that might not be in the system headers... */
#ifndef GLX_VISUAL_CAVEAT_EXT
#define GLX_VISUAL_CAVEAT_EXT 0x20
#endif
#ifndef GLX_NONE_EXT
#define GLX_NONE_EXT 0x8000
#endif
#ifndef GLX_SLOW_VISUAL_EXT
#define GLX_SLOW_VISUAL_EXT 0x8001
#endif
#ifndef GLX_NON_CONFORMANT_VISUAL_EXT
#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
#endif


#if SDL_VIDEO_OPENGL_GLX
static int glXExtensionSupported(_THIS, const char *extension)
{
Expand Down

0 comments on commit cf4fdf2

Please sign in to comment.