|
⇤ ← Revision 1 as of 2011-02-24 19:59:33
Size: 802
Comment: create page - 2/3 changeset 5166 (2/23 5391)
|
Size: 804
Comment: minor change for consistency - error to failure in RV
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 19: | Line 19: |
| Returns a surface in the optimal format for the window, or NULL on error. | Returns a surface in the optimal format for the window, or NULL on failure. |
DRAFT |
SDL_GetWindowSurface
Use this function to get an SDL surface associated with the window.
Contents
Syntax
SDL_Surface* SDL_GetWindowSurface(SDL_Window* window)
Function Parameters
window |
the window to query |
Return Value
Returns a surface in the optimal format for the window, or NULL on failure.
Code Examples
You can add your code example here
Remarks
You may not combine this with 3D or the rendering API on this window.
