From 966af920a262b4f99b90dd025069f03d7767c68b 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262 --- 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;