src/video/SDL_blit.c
changeset 2801 5eb95b8adc1a
parent 2329 c1a390f6a819
child 2805 2ed5ff5373d8
equal deleted inserted replaced
2800:8969da2ef606 2801:5eb95b8adc1a
   234             return 0;
   234             return 0;
   235         }
   235         }
   236     }
   236     }
   237 
   237 
   238     /* Choose a standard blit function */
   238     /* Choose a standard blit function */
   239     if (map->identity && !map->info.flags) {
   239     if (map->identity && !(map->info.flags & ~SDL_COPY_RLE_DESIRED)) {
   240         /* Handle overlapping blits on the same surface */
   240         /* Handle overlapping blits on the same surface */
   241         if (surface == dst) {
   241         if (surface == dst) {
   242             blit = SDL_BlitCopyOverlap;
   242             blit = SDL_BlitCopyOverlap;
   243         } else {
   243         } else {
   244             blit = SDL_BlitCopy;
   244             blit = SDL_BlitCopy;