Destroy a window.
Defined in SDL_video.h
void SDL_DestroyWindow(SDL_Window * window);
SDL_Window * | 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.