src/video/SDL_blit.c
changeset 5325 b9c224e16859
parent 5288 d4381f3b0d1e
child 5389 24903690f48a
     1.1 --- a/src/video/SDL_blit.c	Wed Feb 16 14:38:49 2011 -0800
     1.2 +++ b/src/video/SDL_blit.c	Wed Feb 16 15:25:10 2011 -0800
     1.3 @@ -205,12 +205,7 @@
     1.4  
     1.5      /* Choose a standard blit function */
     1.6      if (map->identity && !(map->info.flags & ~SDL_COPY_RLE_DESIRED)) {
     1.7 -        /* Handle overlapping blits on the same surface */
     1.8 -        if (surface == dst) {
     1.9 -            blit = SDL_BlitCopyOverlap;
    1.10 -        } else {
    1.11 -            blit = SDL_BlitCopy;
    1.12 -        }
    1.13 +        blit = SDL_BlitCopy;
    1.14      } else if (surface->format->BitsPerPixel < 8) {
    1.15          blit = SDL_CalculateBlit0(surface);
    1.16      } else if (surface->format->BytesPerPixel == 1) {