Add this back

This commit is contained in:
twinaphex 2019-08-28 07:47:19 +02:00
parent 7653ced3b3
commit c93c7c82b0

View File

@ -72,7 +72,7 @@ void form_bmp_header(uint8_t *header,
header[26] = 1;
header[27] = 0;
/* Bits per pixel */
header[28] = 24;
header[28] = is32bpp ? 32 : 24;
header[29] = 0;
/* Compression method */
header[30] = 0;