Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-08-23 17:40:05
Size: 830
Editor: SheenaSmith
Comment: create page, add content (8/22 changeset 4864)
Revision 2 as of 2010-10-11 04:11:45
Size: 813
Editor: SheenaSmith
Comment: update content - pointers, structs
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
||'''file'''||^a pointer to the file containing the surface information^|| ||'''file'''||^the file containing surface information^||

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

None: SDL_LoadBMP (last edited 2011-01-11 23:15:19 by SheenaSmith)

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