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().