Fix FSR-FG ffxQuery hook

This commit is contained in:
cdozdil
2026-05-08 17:53:54 +03:00
parent e07decf431
commit 9e321bb5e7
+2 -2
View File
@@ -586,11 +586,11 @@ class FfxApiProxy
if (fg_dx12_hooked.Dispatch != nullptr)
DetourAttach(&(PVOID&) fg_dx12_hooked.Dispatch, ffxDispatch_Dx12);
DetourTransactionCommit();
if (fg_dx12_hooked.Query != nullptr)
DetourAttach(&(PVOID&) fg_dx12_hooked.Query, ffxQuery_Dx12);
DetourTransactionCommit();
if (fg_dx12.dll == fg_dx12_hooked.dll)
fg_dx12 = fg_dx12_hooked;