Toggling HDR resets the display back to it's maximum native refresh rate, and since we sometimes might want to set our screen lower than that (e.g, to match the refresh with media fps), we have to revert this change manually.
There does not appear to be an API call that can set HDR status and refresh rate at the same time like you could with, say resolution + refresh rate, so we have to first set the hdr status and then set out desired refresh rate.
Fix for bug #68
Toggling HDR resets the display back to it's maximum native refresh rate, and since we sometimes might want to set our screen lower than that (e.g, to match the refresh with media fps), we have to revert this change manually.
There does not appear to be an API call that can set HDR status and refresh rate at the same time like you could with, say resolution + refresh rate, so we have to first set the hdr status and then set out desired refresh rate.