SDL_SaveBMP

Name

SDL_SaveBMP -- Save an SDL_Surface as a Windows BMP file.

Synopsis

uses 
SDL;

function SDL_SaveBMP( surface : PSDL_Surface; filename : PChar ): Integer;

Description

Saves the SDL_Surface surface as a Windows BMP file named file .

Return Value

Returns 0 if successful or -1 if there was an error.

See Also

SDL_LoadBMP