Fixed copy blit detection

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403262
This commit is contained in:
Sam Lantinga 2008-11-29 00:10:59 +00:00
parent 9c7eee3fc0
commit 966af920a2

View file

@ -236,7 +236,7 @@ SDL_CalculateBlit(SDL_Surface * surface)
} }
/* Choose a standard blit function */ /* 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 */ /* Handle overlapping blits on the same surface */
if (surface == dst) { if (surface == dst) {
blit = SDL_BlitCopyOverlap; blit = SDL_BlitCopyOverlap;