Fix FSR-FG ffxQuery hook

This commit is contained in:
cdozdil
2026-05-08 17:53:04 +03:00
parent 0f60773cb3
commit af907d67cf
+2 -2
View File
@@ -564,11 +564,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;