mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-08-23 14:46:51 +00:00
Fix overlay saying DLSSG when a replacement was used
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user