increased imgui delay from 100 to 300 frame

This commit is contained in:
cdozdil
2024-05-13 20:00:11 +03:00
parent 123dd6d14c
commit 5daefdabab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D11_EvaluateFeature(ID3D11DeviceConte
return NVSDK_NGX_Result_Fail;
}
if (Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 100 && !ImGuiOverlayDx11::IsInitedDx11())
if (Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 300 && !ImGuiOverlayDx11::IsInitedDx11())
{
HWND consoleWindow = GetConsoleWindow();
bool consoleAllocated = false;
+1 -1
View File
@@ -550,7 +550,7 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_D3D12_EvaluateFeature(ID3D12GraphicsCom
return NVSDK_NGX_Result_Fail;
}
if (Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 100 && !ImGuiOverlayDx12::IsInitedDx12())
if (Config::Instance()->CurrentFeature != nullptr && Config::Instance()->CurrentFeature->FrameCount() > 300 && !ImGuiOverlayDx12::IsInitedDx12())
{
HWND consoleWindow = GetConsoleWindow();
bool consoleAllocated = false;