Fixed bug #221
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 May 2006 07:25:37 +0000
changeset 18042bf1b143745b
parent 1803 79e6943b5f6c
child 1805 259e03cbcb5f
Fixed bug #221

The Carbon build on Mac OS X uses the toolbox video driver, not quartz.
include/SDL_config_macosx.h
     1.1 --- a/include/SDL_config_macosx.h	Wed May 10 07:16:38 2006 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Wed May 10 07:25:37 2006 +0000
     1.3 @@ -114,7 +114,11 @@
     1.4  
     1.5  /* Enable various video drivers */
     1.6  #define SDL_VIDEO_DRIVER_DUMMY	1
     1.7 +#if TARGET_API_MAC_CARBON
     1.8 +#define SDL_VIDEO_DRIVER_TOOLBOX	1
     1.9 +#else
    1.10  #define SDL_VIDEO_DRIVER_QUARTZ	1
    1.11 +#endif
    1.12  
    1.13  /* Enable OpenGL support */
    1.14  #define SDL_VIDEO_OPENGL	1