diff options
author | Sam Lantinga <slouken@libsdl.org> | 2008-11-29 00:10:59 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2008-11-29 00:10:59 +0000 |
commit | 83837765bdb38314b58d345e5cf3361a81da1466 (patch) | |
tree | dc1e486cdc3075ec679b6bbd686e17d401f9f1af /src | |
parent | 5dbc9e73be451ba6bfd484fb9ce3da0f5a2ec081 (diff) |
Fixed copy blit detection
Diffstat (limited to 'src')
-rw-r--r-- | src/video/SDL_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/SDL_blit.c b/src/video/SDL_blit.c index 2d9c13bcaa..c07fed8ae0 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; |