Destroy the surface associated with the window.
Defined in <SDL3/SDL_video.h>
SDL_bool SDL_DestroyWindowSurface(SDL_Window *window);
SDL_Window * | window | the window to update. |
(SDL_bool) Returns SDL_TRUE on success or SDL_FALSE on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.