mirror of https://github.com/libsdl-org/SDL.git
parent
f5c27a3a2c
commit
d9e6fe0b7a
|
|
@ -2426,10 +2426,10 @@ extern SDL_DECLSPEC bool SDLCALL SDL_AddVulkanRenderSemaphores(SDL_Renderer *ren
|
|||
*
|
||||
* The `vsync` parameter can be 1 to synchronize present with every vertical
|
||||
* refresh, 2 to synchronize present with every second vertical refresh, etc.,
|
||||
* SDL_RENDERER_VSYNC_ADAPTIVE for late swap tearing (adaptive vsync),
|
||||
* or SDL_RENDERER_VSYNC_DISABLED to disable. Not every value is
|
||||
* supported by every driver, so you should check the return value to see
|
||||
* whether the requested setting is supported.
|
||||
* SDL_RENDERER_VSYNC_ADAPTIVE for late swap tearing (adaptive vsync), or
|
||||
* SDL_RENDERER_VSYNC_DISABLED to disable. Not every value is supported by
|
||||
* every driver, so you should check the return value to see whether the
|
||||
* requested setting is supported.
|
||||
*
|
||||
* \param renderer the renderer to toggle.
|
||||
* \param vsync the vertical refresh sync interval.
|
||||
|
|
|
|||
Loading…
Reference in New Issue