Function fermium::video::SDL_GL_GetSwapInterval
source · pub unsafe extern "C" fn SDL_GL_GetSwapInterval() -> c_int
Expand description
Gets the swap interval setting.
- 0 for immediate swapping.
- 1 for standard vsync swapping.
- -1 for adaptive vsync swapping.
You can also call SDL_GetErrorMsg
for more.