sodium-fabric
sodium-fabric copied to clipboard
Adaptive Sync support
This utilizes and checks for the extensions GLX_EXT_swap_control_tear or WGL_EXT_swap_control_tear and sets the swap interval negative if so, allowing for vertical blanking to happen mid-frame/faster (or in some cases not happen at all) and reducing latency.
Just to make sure, were there any issues reported with this pr that would stop me from merging this?
As far as I'm aware, no.
You need to call the V-Sync setter again because the window hint doesn't get updated until setVsync
is called.