mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-23 22:05:53 +00:00
Fix Reflex status is not updating in menu
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user