Return whether the window has a surface associated with it.
Defined in <SDL3/SDL_video.h>
bool SDL_WindowHasSurface(SDL_Window *window);
SDL_Window * | window | the window to query. |
(bool) Returns true if there is a surface associated with the window, or false otherwise.
This function is available since SDL 3.1.3.