Use RLEACCEL
This commit is contained in:
parent
46da3c0e08
commit
3c7cb24995
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ global Graphic* LoadGraphicPNG(const char* name)
|
|||
(Uint8)transv->green,
|
||||
(Uint8)transv->blue);
|
||||
}
|
||||
SDL_SetColorKey(surface, SDL_SRCCOLORKEY, ckey);
|
||||
SDL_SetColorKey(surface, SDL_SRCCOLORKEY | SDL_RLEACCEL, ckey);
|
||||
}
|
||||
|
||||
/* Create the array of pointers to image data */
|
||||
|
|
Loading…
Add table
Reference in a new issue