src/video/SDL_blit_0.c
changeset 2853 6258fa7cd300
parent 2735 204be4fc2726
child 2859 99210400e8b9
equal deleted inserted replaced
2852:7046f9567045 2853:6258fa7cd300
   463     if (surface->map->dst->format->BitsPerPixel < 8) {
   463     if (surface->map->dst->format->BitsPerPixel < 8) {
   464         which = 0;
   464         which = 0;
   465     } else {
   465     } else {
   466         which = surface->map->dst->format->BytesPerPixel;
   466         which = surface->map->dst->format->BytesPerPixel;
   467     }
   467     }
   468     switch (surface->map->info.flags) {
   468     switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) {
   469     case 0:
   469     case 0:
   470         return bitmap_blit[which];
   470         return bitmap_blit[which];
   471 
   471 
   472     case SDL_COPY_COLORKEY:
   472     case SDL_COPY_COLORKEY:
   473         return colorkey_blit[which];
   473         return colorkey_blit[which];