|
⇤ ← Revision 1 as of 2011-02-17 22:17:52
Size: 792
Comment: create page - 2/17 changeset 5338 (as of 5154)
|
Size: 690
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 19: | Line 18: |
| Returns the pixel format of the window on success, or ,,a negative error code,, ^an empty string^ 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. |
| Line 29: | Line 28: |
| == Related Functions == |
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
