Function SDL_DestroyWindow
pub unsafe extern "C" fn SDL_DestroyWindow(window: *mut SDL_Window)
Available on crate feature
dep_sdl2
only.Expand description
Destroy a window.
If window
is NULL, this function will return immediately after setting
the SDL error message to “Invalid window”. See SDL_GetError().
\param window the window to destroy
\since This function is available since SDL 2.0.0.
\sa SDL_CreateWindow \sa SDL_CreateWindowFrom