mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-22 05:15:50 +00:00
Enable HookToQueue & HookCommandList only for FSR-FG
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user