Destroy a window.
Defined in SDL_video.h
window | the window to destroy |
If window
is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See SDL_GetError().
This function is available since SDL 2.0.0.