Wiki Page Content

Differences between revisions 9 and 10
Revision 9 as of 2015-08-20 23:13:01
Size: 668
Editor: ChrisBush
Comment: Added What happens if window is NULL
Revision 10 as of 2015-08-21 21:08:43
Size: 670
Comment: Added missing ().
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
If '''window''' is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See [[SDL_GetError]]. If '''window''' is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See [[SDL_GetError]]().

SDL_DestroyWindow

Use this function to destroy a window.

Syntax

void SDL_DestroyWindow(SDL_Window* window)

Function Parameters

window

the window to destroy

Code Examples

You can add your code example here

Remarks

If window is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See SDL_GetError().


CategoryAPI, CategoryVideo

None: SDL_DestroyWindow (last edited 2015-08-21 21:08:43 by PhilippWiesemann)

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