1SDL_SaveBMP(3) SDL API Reference SDL_SaveBMP(3)
23
4
NAME
6SDL_SaveBMP - Save an SDL_Surface as a Windows BMP file.
7
SYNOPSIS
9#include "SDL.h"
1011
int SDL_SaveBMP(SDL_Surface *surface, const char *file);
12
DESCRIPTION
14Saves the SDL_Surface surface as a Windows BMP file named file.
15
RETURN VALUE
17Returns 0 if successful or -1 if there was an error.
18
SEE ALSO
20SDL_LoadBMP
2122
23
24
SDL Tue 11 Sep 2001, 23:01 SDL_SaveBMP(3)