# HG changeset patch # User Sam Lantinga # Date 1253522392 0 # Node ID e80d05495bf0077dae1fdbd70137cd5ca1efe5fb # Parent 0794718a428ce0a440ba43284de3b7eae3ee728a 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. diff -r 0794718a428c -r e80d05495bf0 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