sodium-fabric icon indicating copy to clipboard operation
sodium-fabric copied to clipboard

Adaptive Sync support

Open IMS212 opened this issue 3 years ago • 3 comments

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.

IMS212 avatar Feb 24 '22 23:02 IMS212

Just to make sure, were there any issues reported with this pr that would stop me from merging this?

burgerindividual avatar Jul 09 '22 00:07 burgerindividual

As far as I'm aware, no.

IMS212 avatar Jul 09 '22 00:07 IMS212

You need to call the V-Sync setter again because the window hint doesn't get updated until setVsync is called.

FlashyReese avatar Jul 09 '22 02:07 FlashyReese