summaryrefslogtreecommitdiffstats
path: root/src/area.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/area.c')
-rw-r--r--src/area.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/area.c b/src/area.c
index b660cae..b72faf0 100644
--- a/src/area.c
+++ b/src/area.c
@@ -51,7 +51,8 @@ blit_map_layers(struct area *area)
SDL_FillRect(area->map_layers[l], &dstrect,
SDL_MapRGB(area->map_layers[l]->format,
0xFC, 0x00, 0xFF));
- SDL_SetColorKey(area->map_layers[l], SDL_SRCCOLORKEY,
+ SDL_SetColorKey(area->map_layers[l], SDL_SRCCOLORKEY |
+ SDL_RLEACCEL,
SDL_MapRGB(area->map_layers[l]->format,
0xFC, 0x00, 0xFF));
SDL_SetColors(area->map_layers[l], colors, 0, 256);