# HG changeset patch # User Sam Lantinga # Date 1227955430 0 # Node ID 2ed5ff5373d8ecbfd4147ed31c2c0e15ef20ed47 # Parent 7af8c4ad427e8f8194eb5852a236c4b6235882ff Preserve the desire for RLE acceleration diff -r 7af8c4ad427e -r 2ed5ff5373d8 src/video/SDL_blit.c --- a/src/video/SDL_blit.c Sat Nov 29 06:29:33 2008 +0000 +++ b/src/video/SDL_blit.c Sat Nov 29 10:43:50 2008 +0000 @@ -228,9 +228,8 @@ map->info.dst_pitch = dst->pitch; /* See if we can do RLE acceleration */ - if (surface->map->info.flags & SDL_COPY_RLE_DESIRED) { + if (map->info.flags & SDL_COPY_RLE_DESIRED) { if (SDL_RLESurface(surface) == 0) { - surface->map->info.flags &= ~SDL_COPY_RLE_DESIRED; return 0; } }