Destroy a window.
void SDL_DestroyWindow(SDL_Window * window);
If window is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See SDL_GetError().
window
This function is available since SDL 2.0.0.
CategoryAPI, CategoryVideo