Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-24 19:59:33
Size: 802
Editor: SheenaSmith
Comment: create page - 2/3 changeset 5166 (2/23 5391)
Revision 2 as of 2011-03-25 21:01:17
Size: 804
Editor: SheenaSmith
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.

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.


CategoryAPI, CategoryVideo

None: SDL_GetWindowSurface (last edited 2015-02-10 21:29:22 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit