Wiki Page Content

Revision 3 as of 2011-01-11 23:15:19

Clear message

SDL_LoadBMP

Use this function to load a surface from a BMP file.

Syntax

SDL_Surface* SDL_LoadBMP(const char* file)

Function Parameters

file

the file containing a BMP image

Return Value

Returns a pointer to a new SDL_Surface structure or NULL if there was an error; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

The new surface should be freed with SDL_FreeSurface().


CategoryAPI, CategorySurface

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