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.