Enable HookToQueue & HookCommandList only for FSR-FG

This commit is contained in:
cdozdil
2025-08-21 00:12:00 +03:00
parent 36f64f63ab
commit 95588d2659
@@ -1852,8 +1852,12 @@ void ResTrack_Dx12::HookDevice(ID3D12Device* device)
DetourTransactionCommit();
}
HookToQueue(device);
HookCommandList(device);
// Only needed for FSR-FG Feature
if (State::Instance().activeFgOutput == FGOutput::FSRFG)
{
HookToQueue(device);
HookCommandList(device);
}
// Only needed for hudfix
if (State::Instance().activeFgInput == FGInput::Upscaler)