diff --git a/Source/utils/sdl_compat.h b/Source/utils/sdl_compat.h index 93280ff58..5dfc3d05f 100644 --- a/Source/utils/sdl_compat.h +++ b/Source/utils/sdl_compat.h @@ -38,9 +38,8 @@ inline const Uint8 *SDLC_GetKeyState() inline int SDLC_SetColorKey(SDL_Surface *surface, Uint32 key) { #ifdef USE_SDL1 - return SDL_SetColorKey(surface, SDL_SRCCOLORKEY | SDL_RLEACCEL, key); + return SDL_SetColorKey(surface, SDL_SRCCOLORKEY, key); #else - SDL_SetSurfaceRLE(surface, 1); return SDL_SetColorKey(surface, SDL_TRUE, key); #endif }