Function sdl2_sys::SDL_DestroyWindow
source · pub unsafe extern "C" fn SDL_DestroyWindow(window: *mut SDL_Window)
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