view Xcode/SDLTest/libsdlmain_prefix.h @ 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 4d2d0548f5b2
children
line wrap: on
line source

/*
 *  libsdlmain_prefix.h
 *  SDLTest
 *
 *  Created by Darrell Walisser on Wed Aug 06 2003.
 *  Copyright (c) 2003 __MyCompanyName__. All rights reserved.
 *
 */

#include <Cocoa/Cocoa.h>
#include <Carbon/Carbon.h>
#include "SDL.h"
#include "SDLMain.h"