Destroy the surface associated with the window.
the window to update.
true on success or false on failure; call SDL_GetError() for more information.
Threadsafety: This function should only be called on the main thread.
SDL_GetWindowSurface SDL_WindowHasSurface
See Implementation
Destroy the surface associated with the window.