Yes, let's save 32-bit BMP files, very useful for you know, making a game...
authorSam Lantinga <slouken@libsdl.org>
Tue, 29 Nov 2011 02:11:39 -0500
changeset 60945dac1b1261c0
parent 6093 a8696b259e09
child 6095 32d8fad8d7ad
Yes, let's save 32-bit BMP files, very useful for you know, making a game...
src/video/SDL_bmp.c
     1.1 --- a/src/video/SDL_bmp.c	Sun Nov 27 23:30:02 2011 -0500
     1.2 +++ b/src/video/SDL_bmp.c	Tue Nov 29 02:11:39 2011 -0500
     1.3 @@ -36,6 +36,8 @@
     1.4  #include "SDL_endian.h"
     1.5  #include "SDL_pixels_c.h"
     1.6  
     1.7 +#define SAVE_32BIT_BMP
     1.8 +
     1.9  /* Compression encodings for BMP files */
    1.10  #ifndef BI_RGB
    1.11  #define BI_RGB		0