XeFG interpolation count fix v2

This commit is contained in:
cdozdil
2026-05-31 23:09:20 +03:00
parent 90d8f0ca29
commit cb6354fdeb
+4 -4
View File
@@ -354,8 +354,8 @@ bool XeFG_Dx12::CreateSwapchain(IDXGIFactory* factory, ID3D12CommandQueue* cmdQu
if (_framesToInterpolate > intTarget)
_framesToInterpolate = intTarget;
if (!Config::Instance()->FGXeFGInterpolationCount.has_value())
Config::Instance()->FGXeFGInterpolationCount.set_volatile_value(intTarget);
//if (!Config::Instance()->FGXeFGInterpolationCount.has_value())
// Config::Instance()->FGXeFGInterpolationCount.set_volatile_value(intTarget);
params.maxInterpolatedFrames = intTarget;
@@ -513,8 +513,8 @@ bool XeFG_Dx12::CreateSwapchain1(IDXGIFactory* factory, ID3D12CommandQueue* cmdQ
if (_framesToInterpolate > intTarget)
_framesToInterpolate = intTarget;
if (!Config::Instance()->FGXeFGInterpolationCount.has_value())
Config::Instance()->FGXeFGInterpolationCount.set_volatile_value(intTarget);
// if (!Config::Instance()->FGXeFGInterpolationCount.has_value())
// Config::Instance()->FGXeFGInterpolationCount.set_volatile_value(intTarget);
params.maxInterpolatedFrames = intTarget;