Indev450 / SRB2Kart-Saturn

GNU General Public License v2.0
26 stars 9 forks source link

if supported use adaptive vsync for opengl #127

Closed alufolie91 closed 6 months ago

alufolie91 commented 7 months ago

Some systems allow specifying -1 for the interval, to enable adaptive vsync. Adaptive vsync works the same as vsync, but if you've already missed the vertical retrace for a given frame, it swaps buffers immediately, which might be less jarring for the user during occasional framerate drops. TODO: make this an option to toggle rather than just doing that