mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-28 06:14:56 +00:00
This lets the user to correctly detect current vsync state by reading SDL_RendererInfo.
Also fixes SetVSync's return value check (it may be positive for error too).
(cherry picked from commit d78072fcd4)