src/video/SDL_blit_1.c
changeset 2853 6258fa7cd300
parent 2735 204be4fc2726
child 2859 99210400e8b9
equal deleted inserted replaced
2852:7046f9567045 2853:6258fa7cd300
   530     if (dstfmt->BitsPerPixel < 8) {
   530     if (dstfmt->BitsPerPixel < 8) {
   531         which = 0;
   531         which = 0;
   532     } else {
   532     } else {
   533         which = dstfmt->BytesPerPixel;
   533         which = dstfmt->BytesPerPixel;
   534     }
   534     }
   535     switch (surface->map->info.flags) {
   535     switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) {
   536     case 0:
   536     case 0:
   537         return one_blit[which];
   537         return one_blit[which];
   538 
   538 
   539     case SDL_COPY_COLORKEY:
   539     case SDL_COPY_COLORKEY:
   540         return one_blitkey[which];
   540         return one_blitkey[which];