comparison src/video/x11/SDL_x11opengl.c @ 3241:08c5964f2a34

Fixed a few issues compiling with Mac OS X 10.6 Unfortunately the audio and cdrom systems do not build at all, and if you disable those, SDL still fails to link with these errors: Undefined symbols: "_OBJC_IVAR_$_NSScreen._frame", referenced from: -[NSScreen(NSScreenAccess) setFrame:] in SDL_cocoamodes.o "_KLGetKeyboardLayoutProperty", referenced from: _UpdateKeymap in SDL_cocoakeyboard.o _UpdateKeymap in SDL_cocoakeyboard.o "_KLGetCurrentKeyboardLayout", referenced from: _UpdateKeymap in SDL_cocoakeyboard.o ld: symbol(s) not found
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 07:33:54 +0000
parents 7f684f249ec9
children d559edc85610
comparison
equal deleted inserted replaced
3240:6c4736b446e8 3241:08c5964f2a34
35 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib" 35 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib"
36 #elif defined(__QNXNTO__) 36 #elif defined(__QNXNTO__)
37 #define DEFAULT_OPENGL "libGL.so.3" 37 #define DEFAULT_OPENGL "libGL.so.3"
38 #else 38 #else
39 #define DEFAULT_OPENGL "libGL.so.1" 39 #define DEFAULT_OPENGL "libGL.so.1"
40 #endif
41
42 #ifndef GLX_NONE_EXT
43 #define GLX_NONE_EXT 0x8000
40 #endif 44 #endif
41 45
42 #ifndef GLX_ARB_multisample 46 #ifndef GLX_ARB_multisample
43 #define GLX_ARB_multisample 47 #define GLX_ARB_multisample
44 #define GLX_SAMPLE_BUFFERS_ARB 100000 48 #define GLX_SAMPLE_BUFFERS_ARB 100000