table of contents
other versions
SDL_HasWindowSurface(3) | SDL3 FUNCTIONS | SDL_HasWindowSurface(3) |
NAME¶
SDL_HasWindowSurface - Return whether the window has a surface associated with it.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_bool SDL_HasWindowSurface(SDL_Window *window);
FUNCTION PARAMETERS¶
- window
- the window to query
RETURN VALUE¶
Returns SDL_TRUE
if there is a surface associated with the window, or SDL_FALSE
otherwise.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.0.0 | SDL |