Wiki Page Content

Revision 2 as of 2010-10-11 04:11:45

Clear message

DRAFT

SDL_LoadBMP

Use this function to load a surface from a file.

Syntax

SDL_Surface* SDL_LoadBMP(const char* file)

Function Parameters

file

the file containing surface information

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