Function fermium::video::SDL_GL_GetSwapInterval [−][src]
pub unsafe extern "C" fn SDL_GL_GetSwapInterval() -> c_int
Gets the swap interval setting.
- 0 for immediate swapping.
- 1 for standard vsync swapping.
- -1 for adaptive vsync swapping.
You can also call [SDL_GetError
] for more.