mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-25 15:46:45 +00:00
increased imgui delay from 100 to 300 frame
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user