Adjustable Max FPS by 1
PweSol opened this issue ยท 6 comments
I hope this becomes the default. FreeSync needs approx. 3 FPS lower than the refresh rate in order to work properly.
This would greatly help screen tearing.
I think if you change line 98 of src/main/java/me/jellysquid/mods/sodium/client/gui/SodiumGameOptionPages.java from .setControl(option -> new SliderControl(option, 5, 260, 5, ControlValueFormatter.fpsLimit()))
to .setControl(option -> new SliderControl(option, 5, 260, 1, ControlValueFormatter.fpsLimit()))
the step should become 1. It's just changing the third number to whatever you want the step to be.
It works! Thanks!
Only had to disable Sodium version check in Iris to make the game launch with self-compiled builds.
Does anyone know how to do this on the latest version? Sodium has been changed quite significantly internally and I can't find anything similar in order to change it.
It's now in src/main/java/net/caffeinemc/sodium/config/user/UserConfigCategories.java