Mercurial > sdl-ios-xcode
diff src/video/SDL_blit_1.c @ 2853:6258fa7cd300
Fixed picking blit function when RLE fails
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 07 Dec 2008 22:37:40 +0000 |
parents | 204be4fc2726 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/SDL_blit_1.c Sun Dec 07 22:29:58 2008 +0000 +++ b/src/video/SDL_blit_1.c Sun Dec 07 22:37:40 2008 +0000 @@ -532,7 +532,7 @@ } else { which = dstfmt->BytesPerPixel; } - switch (surface->map->info.flags) { + switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) { case 0: return one_blit[which];