From d1608f8b5c907cdc3bc2418d969aff57f7d71590 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 29 Nov 2008 00:10:59 +0000 Subject: [PATCH] Fixed copy blit detection --- src/video/SDL_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_blit.c b/src/video/SDL_blit.c index 2d9c13bca..c07fed8ae 100644 --- a/src/video/SDL_blit.c +++ b/src/video/SDL_blit.c @@ -236,7 +236,7 @@ SDL_CalculateBlit(SDL_Surface * surface) } /* 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;