From 31703eee0db40e19f11fa8de82f59539d134e45b Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 10 Mar 2024 13:38:42 +0200 Subject: [PATCH] Return auto on unknown texture filter --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cpp b/src/config.cpp index ed39ff40..4e045bde 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -148,7 +148,7 @@ std::string EmulatorConfig::textureFilterToString(TextureFilter filter) { case TextureFilter::Auto: return "auto"; case TextureFilter::ForceNearest: return "nearest"; case TextureFilter::ForceBilinear: return "bilinear"; - default: Helpers::warn("Invalid texture filter type"); return "unknown"; + default: Helpers::warn("Invalid texture filter type"); return "auto"; } }