Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11gl.c @ 4183:39e748f251c6 SDL-1.2
Patched X11 code to compile on Mac OS X 10.6 SDK.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sat, 12 Sep 2009 06:25:36 +0000 |
parents | a1b03ba2fcd0 |
children | d48035d857d3 |
comparison
equal
deleted
inserted
replaced
4182:6512a61c2c73 | 4183:39e748f251c6 |
---|---|
43 #define GLX_ARB_multisample | 43 #define GLX_ARB_multisample |
44 #define GLX_SAMPLE_BUFFERS_ARB 100000 | 44 #define GLX_SAMPLE_BUFFERS_ARB 100000 |
45 #define GLX_SAMPLES_ARB 100001 | 45 #define GLX_SAMPLES_ARB 100001 |
46 #endif | 46 #endif |
47 | 47 |
48 #ifndef GLX_EXT_visual_rating | 48 /* GLX_EXT_visual_rating stuff that might not be in the system headers... */ |
49 #define GLX_EXT_visual_rating | 49 #ifndef GLX_VISUAL_CAVEAT_EXT |
50 #define GLX_VISUAL_CAVEAT_EXT 0x20 | 50 #define GLX_VISUAL_CAVEAT_EXT 0x20 |
51 #endif | |
52 #ifndef GLX_NONE_EXT | |
51 #define GLX_NONE_EXT 0x8000 | 53 #define GLX_NONE_EXT 0x8000 |
54 #endif | |
55 #ifndef GLX_SLOW_VISUAL_EXT | |
52 #define GLX_SLOW_VISUAL_EXT 0x8001 | 56 #define GLX_SLOW_VISUAL_EXT 0x8001 |
57 #endif | |
58 #ifndef GLX_NON_CONFORMANT_VISUAL_EXT | |
53 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D | 59 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D |
54 #endif | 60 #endif |
61 | |
55 | 62 |
56 #if SDL_VIDEO_OPENGL_GLX | 63 #if SDL_VIDEO_OPENGL_GLX |
57 static int glXExtensionSupported(_THIS, const char *extension) | 64 static int glXExtensionSupported(_THIS, const char *extension) |
58 { | 65 { |
59 const char *extensions; | 66 const char *extensions; |