Removed the SDL 1.2 compatibility API... we'll see how painful this is.
This commit is contained in:
parent
cb74808ecb
commit
5ef4144446
29 changed files with 51 additions and 7893 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue