# HG changeset patch # User Sam Lantinga # Date 1147245937 0 # Node ID 2bf1b143745b7a280b5a7d353e7dfca7b3f184e7 # Parent 79e6943b5f6c73ce0381d9f112b8ef579a283df0 Fixed bug #221 The Carbon build on Mac OS X uses the toolbox video driver, not quartz. diff -r 79e6943b5f6c -r 2bf1b143745b include/SDL_config_macosx.h --- a/include/SDL_config_macosx.h Wed May 10 07:16:38 2006 +0000 +++ b/include/SDL_config_macosx.h Wed May 10 07:25:37 2006 +0000 @@ -114,7 +114,11 @@ /* Enable various video drivers */ #define SDL_VIDEO_DRIVER_DUMMY 1 +#if TARGET_API_MAC_CARBON +#define SDL_VIDEO_DRIVER_TOOLBOX 1 +#else #define SDL_VIDEO_DRIVER_QUARTZ 1 +#endif /* Enable OpenGL support */ #define SDL_VIDEO_OPENGL 1