Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed copy blit detection

  • Loading branch information
slouken committed Nov 29, 2008
1 parent f353179 commit d1608f8b5c907cdc3bc2418d969aff57f7d71590
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit d1608f8

Please sign in to comment.