From f9976b33f6a786af997f8d3d99530d5bf973be33 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 21 Sep 2009 08:39:52 +0000 Subject: [PATCH] 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index ebc4dd0d0..018eac030 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -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