reduced imgui overlay delay to 90 frames

This commit is contained in:
cdozdil
2024-05-15 10:11:28 +03:00
parent 02c6d5ebb7
commit 3ad16b63d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();