Destroy a window.
Defined in <SDL3/SDL_video.h>
window | the window to destroy |
Any popups or modal windows owned by the window will be recursively destroyed as well.
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 3.0.0.