src/video/SDL_pixels.c
changeset 2990 502adab079a4
parent 2967 e4a469d6ddab
child 3163 a252014ce27d
equal deleted inserted replaced
2989:aba5a5cc2e63 2990:502adab079a4
   358     /* Set up the format */
   358     /* Set up the format */
   359     return SDL_InitFormat(format, bpp, Rmask, Gmask, Bmask, Amask);
   359     return SDL_InitFormat(format, bpp, Rmask, Gmask, Bmask, Amask);
   360 }
   360 }
   361 
   361 
   362 SDL_PixelFormat *
   362 SDL_PixelFormat *
   363 SDL_InitFormat(SDL_PixelFormat *format, int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask)
   363 SDL_InitFormat(SDL_PixelFormat * format, int bpp, Uint32 Rmask, Uint32 Gmask,
       
   364                Uint32 Bmask, Uint32 Amask)
   364 {
   365 {
   365     Uint32 mask;
   366     Uint32 mask;
   366 
   367 
   367     /* Set up the format */
   368     /* Set up the format */
   368     SDL_zerop(format);
   369     SDL_zerop(format);