Return auto on unknown texture filter

This commit is contained in:
wheremyfoodat 2024-03-10 13:38:42 +02:00 committed by GitHub
parent 6eb145d960
commit 31703eee0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";
}
}