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
|
* The `vsync` parameter can be 1 to synchronize present with every vertical
|
||||||
* refresh, 2 to synchronize present with every second vertical refresh, etc.,
|
* refresh, 2 to synchronize present with every second vertical refresh, etc.,
|
||||||
* SDL_RENDERER_VSYNC_ADAPTIVE for late swap tearing (adaptive vsync),
|
* SDL_RENDERER_VSYNC_ADAPTIVE for late swap tearing (adaptive vsync), or
|
||||||
* or SDL_RENDERER_VSYNC_DISABLED to disable. Not every value is
|
* SDL_RENDERER_VSYNC_DISABLED to disable. Not every value is supported by
|
||||||
* supported by every driver, so you should check the return value to see
|
* every driver, so you should check the return value to see whether the
|
||||||
* whether the requested setting is supported.
|
* requested setting is supported.
|
||||||
*
|
*
|
||||||
* \param renderer the renderer to toggle.
|
* \param renderer the renderer to toggle.
|
||||||
* \param vsync the vertical refresh sync interval.
|
* \param vsync the vertical refresh sync interval.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue