Fixed bug #577 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 08:39:52 +0000
branchSDL-1.2
changeset 4213 e80d05495bf0
parent 4212 0794718a428c
child 4214 4250beeb5ad1
Fixed bug #577 Pierre Phaneuf 2008-05-01 10:29:16 PDT SDL_VIDEO_DRIVER_X11 is not defined in SDL_config_macosx.h There's a number of SDL_VIDEO_DRIVER_xxx defined in SDL_config_macosx.h, but not that one, even though it is actually present.
include/SDL_config_macosx.h
--- a/include/SDL_config_macosx.h	Mon Sep 21 08:31:15 2009 +0000
+++ b/include/SDL_config_macosx.h	Mon Sep 21 08:39:52 2009 +0000
@@ -121,6 +121,18 @@
 #else
 #define SDL_VIDEO_DRIVER_QUARTZ	1
 #endif
+#define SDL_VIDEO_DRIVER_DGA 1
+#define SDL_VIDEO_DRIVER_X11 1
+#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER "/usr/X11R6/lib/libXrender.1.dylib"
+#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
+#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+#define SDL_VIDEO_DRIVER_X11_XME 1
+#define SDL_VIDEO_DRIVER_X11_XRANDR 1
+#define SDL_VIDEO_DRIVER_X11_XV 1
 
 /* Enable OpenGL support */
 #define SDL_VIDEO_OPENGL	1