|
Size: 563
Comment: update content - pointers, structs
|
Size: 668
Comment: Added What happens if window is NULL
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 23: | Line 23: |
| ''You can add useful comments here'' | 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.
