Get VSync for the window surface.
Defined in <SDL3/SDL_video.h>
bool SDL_GetWindowSurfaceVSync(SDL_Window *window, int *vsync);
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. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function is available since SDL 3.1.3.