src/video/SDL_bmp.c
changeset 7376 a2ea9757bfa0
parent 7375 c8b16b3a3c9b
child 7378 3d5f62bac8e7
equal deleted inserted replaced
7375:c8b16b3a3c9b 7376:a2ea9757bfa0
   180                 Gmask = 0x0000FF00;
   180                 Gmask = 0x0000FF00;
   181                 Bmask = 0x000000FF;
   181                 Bmask = 0x000000FF;
   182 #endif
   182 #endif
   183                 break;
   183                 break;
   184             case 32:
   184             case 32:
   185                 Amask = (biSize < 56 ? 0 : 0xFF000000); /* no alpha before BITMAPV3INFOHEADER */
   185                 Amask = 0xFF000000;
   186                 Rmask = 0x00FF0000;
   186                 Rmask = 0x00FF0000;
   187                 Gmask = 0x0000FF00;
   187                 Gmask = 0x0000FF00;
   188                 Bmask = 0x000000FF;
   188                 Bmask = 0x000000FF;
   189                 break;
   189                 break;
   190             default:
   190             default: