Fixed bug #221
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 May 2006 07:25:37 +0000
changeset 1804 2bf1b143745b
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
--- 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