Use RLEACCEL

This commit is contained in:
jsalmon3 2004-03-28 16:00:21 +00:00
parent 46da3c0e08
commit 3c7cb24995

View file

@ -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 */