Fixed bug #577
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 08:40:04 +0000
changeset 3289 5fd1c33ad07a
parent 3288 8c32cabae4f8
child 3290 e9342b136401
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:02 2009 +0000
+++ b/include/SDL_config_macosx.h	Mon Sep 21 08:40:04 2009 +0000
@@ -128,6 +128,19 @@
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_COCOA	1
 #define SDL_VIDEO_DRIVER_DUMMY	1
+#define SDL_VIDEO_DRIVER_X11 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_DYNAMIC_XINPUT "/usr/X11R6/lib/libXi.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.6.dylib"
+#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
+#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+#define SDL_VIDEO_DRIVER_X11_XRANDR 1
+#define SDL_VIDEO_DRIVER_X11_XINPUT 1
+#define SDL_VIDEO_DRIVER_X11_SCRNSAVER 1
+#define SDL_VIDEO_DRIVER_X11_XV 1
 
 /* Enable OpenGL support */
 #define SDL_VIDEO_OPENGL	1