Don't reset frame counters for XeFG

This commit is contained in:
cdozdil
2025-08-11 10:28:23 +03:00
parent 320981de32
commit 2576db63f4
-2
View File
@@ -519,7 +519,6 @@ void XeFG_Dx12::EvaluateState(ID3D12Device* device, FG_Constants& fgConstants)
{
CreateObjects(device);
CreateContext(device, fgConstants);
ResetCounters();
UpdateTarget();
}
else if ((!Config::Instance()->FGEnabled.value_or_default() || State::Instance().FGchanged) && IsActive())
@@ -536,7 +535,6 @@ void XeFG_Dx12::EvaluateState(ID3D12Device* device, FG_Constants& fgConstants)
if (State::Instance().FGchanged)
{
LOG_DEBUG("(FG) Frame generation paused");
ResetCounters();
UpdateTarget();
if (State::Instance().activeFgInput == FGInput::Upscaler)