|
Size: 690
Comment: update content - w/ Sam; remove draft
|
← Revision 3 as of 2011-05-17 18:00:46 ⇥
Size: 685
Comment: minor change, camelcase pragma change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| #pragma disable-camelcase | #pragma camelcase off |
| Line 18: | Line 18: |
| Returns the pixel format of the window on success, or SDL_PIXELFORMAT_UNKNOWN on failure; call [[SDL_GetError]]() for more information. | Returns the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call [[SDL_GetError]]() for more information. |
SDL_GetWindowPixelFormat
Use this function to get the pixel format associated with the window.
Syntax
Uint32 SDL_GetWindowPixelFormat(SDL_Window* window)
Function Parameters
window |
the window to query |
Return Value
Returns the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
