src/video/SDL_blit_A.c
changeset 6165 b7347e716ab6
parent 6138 4c64952a58fb
child 6281 e46d6f4b469e
equal deleted inserted replaced
6164:67f122d8284f 6165:b7347e716ab6
   496      *  leave alpha with a zero mask, but we should still swizzle the bits.
   496      *  leave alpha with a zero mask, but we should still swizzle the bits.
   497      */
   497      */
   498     /* ARGB */
   498     /* ARGB */
   499     const static struct SDL_PixelFormat default_pixel_format = {
   499     const static struct SDL_PixelFormat default_pixel_format = {
   500         0, NULL, 0, 0,
   500         0, NULL, 0, 0,
       
   501         {0, 0},
       
   502         0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,
   501         0, 0, 0, 0,
   503         0, 0, 0, 0,
   502         16, 8, 0, 24,
   504         16, 8, 0, 24,
   503         0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,
       
   504         0, NULL
   505         0, NULL
   505     };
   506     };
   506     if (!srcfmt) {
   507     if (!srcfmt) {
   507         srcfmt = &default_pixel_format;
   508         srcfmt = &default_pixel_format;
   508     }
   509     }