mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-25 07:36:45 +00:00
reduced imgui overlay delay to 90 frames
This commit is contained in:
@@ -376,7 +376,7 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D11_EvaluateFeature(ID3D11DeviceConte
|
||||
}
|
||||
|
||||
if (Config::Instance()->OverlayMenu.value_or(true) &&
|
||||
Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 300 &&
|
||||
Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 90 &&
|
||||
!ImGuiOverlayDx11::IsInitedDx11())
|
||||
{
|
||||
HWND consoleWindow = GetConsoleWindow();
|
||||
|
||||
@@ -548,7 +548,7 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D12_EvaluateFeature(ID3D12GraphicsCom
|
||||
}
|
||||
|
||||
if (Config::Instance()->OverlayMenu.value_or(true) &&
|
||||
Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 300 &&
|
||||
Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 90 &&
|
||||
!ImGuiOverlayDx12::IsInitedDx12())
|
||||
{
|
||||
HWND consoleWindow = GetConsoleWindow();
|
||||
|
||||
Reference in New Issue
Block a user