From fa58d6b0e12571244510b9bcfb2a3aa5bf47ab45 Mon Sep 17 00:00:00 2001 From: FakeMichau <49685661+FakeMichau@users.noreply.github.com> Date: Sat, 15 Aug 2026 00:36:02 +0200 Subject: [PATCH] Fix overlay saying DLSSG when a replacement was used --- OptiScaler/menu/menu_common.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OptiScaler/menu/menu_common.cpp b/OptiScaler/menu/menu_common.cpp index f5abfe66..76be3bd3 100644 --- a/OptiScaler/menu/menu_common.cpp +++ b/OptiScaler/menu/menu_common.cpp @@ -1767,11 +1767,7 @@ void MenuCommon::RenderPerformanceOverlay(RenderMenuContext& ctx) }; const FGNvngxReplacement activeNvngxFg = state.activeFgNvngx; - if (state.activeFgOutput == FGOutput::DLSSG) - { - fgText = formatFg("DLSSG", state.dlssgMaxInterpolationCount); - } - else if (activeNvngxFg == FGNvngxReplacement::Arturs) + if (activeNvngxFg == FGNvngxReplacement::Arturs) { fgText = formatFg("Enabler", Nvngx_FG::getMaxFakeFramesCount()); } @@ -1787,6 +1783,10 @@ void MenuCommon::RenderPerformanceOverlay(RenderMenuContext& ctx) { fgText = formatFg("Combo", Nvngx_FG::getMaxFakeFramesCount()); } + else if (state.activeFgOutput == FGOutput::DLSSG) + { + fgText = formatFg("DLSSG", state.dlssgMaxInterpolationCount); + } const auto overlayType = config->FpsOverlayType.value_or_default(); const bool hasFeature = currentFeature && !currentFeature->IsFrozen();