Wiki Page Content

Revision 1 as of 2010-08-23 17:53:45

Clear message

DRAFT

SDL_SaveBMP

Use this function to save a surface to a file.

Syntax

int SDL_SaveBMP(SDL_Surface* surface,
                const char*  file)

Function Parameters

surface

a pointer to the surface to save

file

a pointer to the file to fill with the surface data

Return Value

Returns 0 if successful or -1 if there was an error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategorySurface

Feedback
Please include your contact information if you'd like to receive a reply.
Submit