mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-02 15:17:00 +08:00
In the future, we might want to support special swap intervals. To prevent applications from expecting nonzero values of vsync to be the same as "on", fail with SDL_Unsupported() if the value passed is neither 0 nor 1.