diff --git a/src/video/png.cpp b/src/video/png.cpp index 6cea9700b..bfb3ea0ab 100644 --- a/src/video/png.cpp +++ b/src/video/png.cpp @@ -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 */