mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-23 22:05:53 +00:00
fixed fsr3 crash
This commit is contained in:
@@ -963,7 +963,7 @@ void ImGuiCommon::RenderMenu()
|
||||
if (_fsr3xIndex < 0)
|
||||
_fsr3xIndex = Config::Instance()->Fsr3xIndex.value_or(0);
|
||||
|
||||
if (currentBackend == "fsr31" || currentBackend == "fsr31_12")
|
||||
if (currentBackend == "fsr31" || currentBackend == "fsr31_12" && Config::Instance()->fsr3xVersionNames.size() > 0)
|
||||
{
|
||||
auto currentName = std::format("FSR {}", Config::Instance()->fsr3xVersionNames[_fsr3xIndex]);
|
||||
if (ImGui::BeginCombo("Upscaler", currentName.c_str()))
|
||||
|
||||
Reference in New Issue
Block a user