Get VSync for the window surface.
Defined in <SDL3/SDL_video.h>
int *vsync); SDL_bool SDL_GetWindowSurfaceVSync(SDL_Window *window,
SDL_Window * | window | the window to query. |
int * | vsync | an int filled with the current vertical refresh sync interval. See SDL_SetWindowSurfaceVSync() for the meaning of the value. |
(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.