changeset 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 79e6943b5f6c
children 259e03cbcb5f
files include/SDL_config_macosx.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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