src/video/SDL_blit_1.c
changeset 3162 dc1eb82ffdaa
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
equal deleted inserted replaced
3161:494559cc723b 3162:dc1eb82ffdaa
   510         src += srcskip;
   510         src += srcskip;
   511         dst += dstskip;
   511         dst += dstskip;
   512     }
   512     }
   513 }
   513 }
   514 
   514 
   515 static SDL_BlitFunc one_blit[] = {
   515 static const SDL_BlitFunc one_blit[] = {
   516     NULL, Blit1to1, Blit1to2, Blit1to3, Blit1to4
   516     NULL, Blit1to1, Blit1to2, Blit1to3, Blit1to4
   517 };
   517 };
   518 
   518 
   519 static SDL_BlitFunc one_blitkey[] = {
   519 static const SDL_BlitFunc one_blitkey[] = {
   520     NULL, Blit1to1Key, Blit1to2Key, Blit1to3Key, Blit1to4Key
   520     NULL, Blit1to1Key, Blit1to2Key, Blit1to3Key, Blit1to4Key
   521 };
   521 };
   522 
   522 
   523 SDL_BlitFunc
   523 SDL_BlitFunc
   524 SDL_CalculateBlit1(SDL_Surface * surface)
   524 SDL_CalculateBlit1(SDL_Surface * surface)