Fix Reflex status is not updating in menu

This commit is contained in:
cdozdil
2025-05-13 16:18:41 +03:00
parent f7822ee30d
commit 7ee193b57a
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -266,6 +266,8 @@ static HRESULT Present(IDXGISwapChain * pSwapChain, UINT SyncInterval, UINT Flag
if (fg != nullptr)
ReflexHooks::update(fg->IsActive());
else
ReflexHooks::update(false);
// Upscaler GPU time computation
if (HooksDx::dx12UpscaleTrig && HooksDx::readbackBuffer != nullptr && HooksDx::queryHeap != nullptr && cq != nullptr)
-2
View File
@@ -67,8 +67,6 @@ void* __stdcall NvApiHooks::hkNvAPI_QueryInterface(unsigned int InterfaceId)
if (!o_NvAPI_QueryInterface)
return nullptr;
//LOG_DEBUG("counter: {} InterfaceId: {:X}", ++qiCounter, (uint32_t)InterfaceId);
// Disable flip metering
if (InterfaceId == 0xF3148C42 && Config::Instance()->DisableFlipMetering.value_or(!State::Instance().isRunningOnNvidia))
{