SDL_SaveBMP — Save an SDL_Surface as a Windows BMP file.
#include "SDL.h"
int SDL_SaveBMP(
)
Saves the SDL_Surface surface as a Windows BMP file named file.
surface
file
Returns 0 if successful or -1 if there was an error.
0
SDL_LoadBMP(3)
This manual page is taken from the SDL library, licensed under GNU LGPL.