From c4e72955910db52cf9cd08ebcf3ec8a3d1495cef Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sat, 30 May 2026 22:08:53 +0300 Subject: [PATCH] Use 2x as default with XeFG --- OptiScaler/framegen/xefg/XeFG_Dx12.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OptiScaler/framegen/xefg/XeFG_Dx12.cpp b/OptiScaler/framegen/xefg/XeFG_Dx12.cpp index 2620b2ca..1aa682ac 100644 --- a/OptiScaler/framegen/xefg/XeFG_Dx12.cpp +++ b/OptiScaler/framegen/xefg/XeFG_Dx12.cpp @@ -341,7 +341,7 @@ bool XeFG_Dx12::CreateSwapchain(IDXGIFactory* factory, ID3D12CommandQueue* cmdQu // For old libxess_fg versions we use max to control interpolation count if (XeFGProxy::SetNumInterpolatedFrames() == nullptr) - intTarget = Config::Instance()->FGXeFGInterpolationCount.value_or(State::Instance().xefgMaxInterpolationCount); + intTarget = Config::Instance()->FGXeFGInterpolationCount.value_or_default(); if (intTarget < 1 || intTarget > State::Instance().xefgMaxInterpolationCount) { @@ -500,7 +500,7 @@ bool XeFG_Dx12::CreateSwapchain1(IDXGIFactory* factory, ID3D12CommandQueue* cmdQ // For old libxess_fg versions we use max to control interpolation count if (XeFGProxy::SetNumInterpolatedFrames() == nullptr) - intTarget = Config::Instance()->FGXeFGInterpolationCount.value_or(State::Instance().xefgMaxInterpolationCount); + intTarget = Config::Instance()->FGXeFGInterpolationCount.value_or_default(); if (intTarget < 1 || intTarget > State::Instance().xefgMaxInterpolationCount) {