Skip to content
Permalink
Browse files

Patched X11 code to compile on Mac OS X 10.6 SDK.

  • Loading branch information
icculus committed Sep 12, 2009
1 parent 249b611 commit cf4fdf26e4dbc107ca3b383570ea9474d26ca50c

File 1 of 1 in cf4fdf2

@@ -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)
{

0 comments on commit cf4fdf2

Please sign in to comment.