Use 2x as default with XeFG

This commit is contained in:
cdozdil
2026-05-30 22:08:53 +03:00
parent 26be40f915
commit c4e7295591
+2 -2
View File
@@ -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)
{