Main menu would retain the width from the biggest scale set on this boot - reset the size to 1x1 and let the imgui resize itself back up.
The 2nd issue with the fps overlay was relating to having different scales for the menu and the fps overlay. Different scales require setting the required style for padding etc. Because we only have one global style we need to constantly shuffle styles between the main menu and the fps overlay.
It's not perfect but the main usecase is having an fps limit when force disabling LFX. Ideally we would replace LFX with an fps limiter in those cases and maybe try to improve frametimes stability by sleeping tiny bit right *before* a present. That requires better integration so best to do that after fakenvapi is merged into Opti.
* Promoted to v2.5
* Added checks for old Opti files - now warns about existing installs and old conflicting pre-0.9 files
* More info provided at certain steps
* Added prompt for OptiPatcher
* Added workaround if Patcher download gets stuck
* Tweaked OptiPatcher support code
* Uninstaller now removes all Opti files, excluding the upscaler binaries
* Downscaler refactor changes
* Fix nitec's undiagnosed OCD complaints
* Fix clang format errors
* Revert "Fix clang format errors"
This reverts commit a9fdbf802f.
* Add info about downscalers in the item description. Use proper names for downscalers
* Allow selection of FSR 1 and Bicubic when ratio is below 1.0
* Remove unnecessary constantsInited check
* Refactor constant initialization in OS_Dx12.cpp
Removed redundant initialization check for constants and updated their values directly.
* Refactor constant initialization in OS_Vk.cpp
Removed the unused 'constantsInited' boolean and simplified the initialization logic for constants.
* Adjust output scaling parameters based on conditions
* Fix output scaling downscaler assignment
* hopefully fix clang 20 complaints
---------
Co-authored-by: nitec <35529761+cdozdil@users.noreply.github.com>