From 817707693c5a3768ede8c4ec71d5d473352964df Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 10 May 2006 07:25:37 +0000 Subject: [PATCH] Fixed bug #221 The Carbon build on Mac OS X uses the toolbox video driver, not quartz. --- include/SDL_config_macosx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 1cfc68883..8f04930d5 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -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