|
⇤ ← Revision 1 as of 2010-08-23 17:40:05
Size: 830
Comment: create page, add content (8/22 changeset 4864)
|
Size: 813
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.
Contents
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().
