SDL_SaveBMP
Use this function to save a surface to a BMP file.
Contents
Syntax
int SDL_SaveBMP(SDL_Surface* surface,
const char* file)
Function Parameters
surface |
the SDL_Surface structure containing the image to be saved |
file |
the file to be saved to |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here