Removed the SDL 1.2 compatibility API... we'll see how painful this is.

This commit is contained in:
Sam Lantinga 2012-01-22 18:11:41 -05:00
parent cb74808ecb
commit 5ef4144446
29 changed files with 51 additions and 7893 deletions

View file

@ -62,7 +62,7 @@ LoadSprite(SDL_Renderer *renderer, char *file)
/* Set transparent pixel as the pixel at (0,0) */
if (temp->format->palette) {
SDL_SetColorKey(temp, SDL_SRCCOLORKEY, *(Uint8 *) temp->pixels);
SDL_SetColorKey(temp, 1, *(Uint8 *) temp->pixels);
}
/* Create textures from the image */