Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed copy blit detection
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 29, 2008
1 parent f353179 commit d1608f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_blit.c
Expand Up @@ -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;
Expand Down

0 comments on commit d1608f8

Please sign in to comment.