Mercurial > sdl-ios-xcode
changeset 2805:2ed5ff5373d8
Preserve the desire for RLE acceleration
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Nov 2008 10:43:50 +0000 |
parents | 7af8c4ad427e |
children | 938aa47f903a |
files | src/video/SDL_blit.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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; } }