Fixed bug #577 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Sep 2009 08:39:52 +0000
branchSDL-1.2
changeset 4213e80d05495bf0
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
     1.1 --- a/include/SDL_config_macosx.h	Mon Sep 21 08:31:15 2009 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Mon Sep 21 08:39:52 2009 +0000
     1.3 @@ -121,6 +121,18 @@
     1.4  #else
     1.5  #define SDL_VIDEO_DRIVER_QUARTZ	1
     1.6  #endif
     1.7 +#define SDL_VIDEO_DRIVER_DGA 1
     1.8 +#define SDL_VIDEO_DRIVER_X11 1
     1.9 +#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
    1.10 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
    1.11 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
    1.12 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib"
    1.13 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER "/usr/X11R6/lib/libXrender.1.dylib"
    1.14 +#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
    1.15 +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
    1.16 +#define SDL_VIDEO_DRIVER_X11_XME 1
    1.17 +#define SDL_VIDEO_DRIVER_X11_XRANDR 1
    1.18 +#define SDL_VIDEO_DRIVER_X11_XV 1
    1.19  
    1.20  /* Enable OpenGL support */
    1.21  #define SDL_VIDEO_OPENGL	1