Function sdl2_sys::SDL_RenderSetVSync
source ยท pub unsafe extern "C" fn SDL_RenderSetVSync(
renderer: *mut SDL_Renderer,
vsync: c_int,
) -> c_int
Expand description
Toggle VSync of the given renderer.
\param renderer The renderer to toggle \param vsync 1 for on, 0 for off. All other values are reserved \returns a 0 int on success, or non-zero on failure
\since This function is available since SDL 2.0.18.