Commit 0e083b2a authored by Ryan C. Gordon's avatar Ryan C. Gordon

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

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403791
parent 0add77f0
...@@ -45,14 +45,21 @@ ...@@ -45,14 +45,21 @@
#define GLX_SAMPLES_ARB 100001 #define GLX_SAMPLES_ARB 100001
#endif #endif
#ifndef GLX_EXT_visual_rating /* GLX_EXT_visual_rating stuff that might not be in the system headers... */
#define GLX_EXT_visual_rating #ifndef GLX_VISUAL_CAVEAT_EXT
#define GLX_VISUAL_CAVEAT_EXT 0x20 #define GLX_VISUAL_CAVEAT_EXT 0x20
#endif
#ifndef GLX_NONE_EXT
#define GLX_NONE_EXT 0x8000 #define GLX_NONE_EXT 0x8000
#endif
#ifndef GLX_SLOW_VISUAL_EXT
#define GLX_SLOW_VISUAL_EXT 0x8001 #define GLX_SLOW_VISUAL_EXT 0x8001
#endif
#ifndef GLX_NON_CONFORMANT_VISUAL_EXT
#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
#endif #endif
#if SDL_VIDEO_OPENGL_GLX #if SDL_VIDEO_OPENGL_GLX
static int glXExtensionSupported(_THIS, const char *extension) static int glXExtensionSupported(_THIS, const char *extension)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment