view Xcode/TemplatesForXcode/SDL Cocoa Application/SDLApp_Prefix.pch @ 2787:93764fe8601a

It turns out both the software and the OpenGL renderer had the same problem. According to the spec, when SDL_SRCALPHA is set, the colorkey is ignored, so we just need to convert the colorkey into the alpha channel.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 25 Nov 2008 05:29:14 +0000
parents d63e9f5944ae
children
line wrap: on
line source

//
// Prefix header for all source files of the 'ÇPROJECTNAMEÈ' target in the 'ÇPROJECTNAMEÈ' project
//

#include "SDL.h"

#ifdef __OBJC__
    #import <Cocoa/Cocoa.h>
#endif