|
⇤ ← Revision 1 as of 2011-03-11 20:42:08
Size: 810
Comment: create page - 3/10 46bd121b04a2 (2/13 d4381f3b0d1e)
|
Size: 788
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 31: | Line 31: |
| .[[SDL_InitFormat]] |
DRAFT |
SDL_AllocFormat
Use this function to create an SDL_PixelFormat structure from an a pixel format enum SDL_PixelFormatEnum.
Contents
Syntax
SDL_PixelFormat* SDL_AllocFormat(Uint32 pixel_format)
Function Parameters
pixel_format |
one of the SDL_PixelFormatEnum values |
Return Value
Returns the new SDL_PixelFormat structure or NULL on error.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
