|
Size: 668
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().
