src/video/SDL_blit.c
changeset 2801 5eb95b8adc1a
parent 2329 c1a390f6a819
child 2805 2ed5ff5373d8
--- a/src/video/SDL_blit.c	Sat Nov 29 00:08:29 2008 +0000
+++ b/src/video/SDL_blit.c	Sat Nov 29 00:10:59 2008 +0000
@@ -236,7 +236,7 @@
     }
 
     /* Choose a standard blit function */
-    if (map->identity && !map->info.flags) {
+    if (map->identity && !(map->info.flags & ~SDL_COPY_RLE_DESIRED)) {
         /* Handle overlapping blits on the same surface */
         if (surface == dst) {
             blit = SDL_BlitCopyOverlap;