diff include/SDL_config_macosx.h @ 1804:2bf1b143745b

Fixed bug #221 The Carbon build on Mac OS X uses the toolbox video driver, not quartz.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 May 2006 07:25:37 +0000
parents 18e44c267283
children 103c6fec2a60 78ff7d10dbb5
line wrap: on
line diff
--- 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