Mercurial > sdl-ios-xcode
diff src/video/SDL_blit_N.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_N.c Sun Dec 07 22:29:58 2008 +0000 +++ b/src/video/SDL_blit_N.c Sun Dec 07 22:37:40 2008 +0000 @@ -2430,7 +2430,7 @@ return (NULL); } - switch (surface->map->info.flags) { + switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) { case 0: blitfun = NULL; if (dstfmt->BitsPerPixel == 8) {