# HG changeset patch # User Sam Lantinga # Date 1227917459 0 # Node ID 5eb95b8adc1afda487fba753b1825fc48dff5532 # Parent 8969da2ef606df7dd5be68290c8eb9d67d85acd8 Fixed copy blit detection diff -r 8969da2ef606 -r 5eb95b8adc1a src/video/SDL_blit.c --- 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;