From d871c17f3f491855621d95d2caae9e07efafe423 Mon Sep 17 00:00:00 2001 From: Stenzek <stenzek@gmail.com> Date: Wed, 11 Dec 2024 14:54:17 +1000 Subject: [PATCH] Settings: Set sprite texture filter on reset --- src/core/settings.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 61733ff60..75d0f86f3 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -553,9 +553,7 @@ void Settings::Save(SettingsInterface& si, bool ignore_base) const si.SetBoolValue("GPU", "ForceRoundTextureCoordinates", gpu_force_round_texcoords); si.SetBoolValue("GPU", "AccurateBlending", gpu_accurate_blending); si.SetStringValue("GPU", "TextureFilter", GetTextureFilterName(gpu_texture_filter)); - si.SetStringValue( - "GPU", "SpriteTextureFilter", - (gpu_sprite_texture_filter != gpu_texture_filter) ? GetTextureFilterName(gpu_sprite_texture_filter) : ""); + si.SetStringValue("GPU", "SpriteTextureFilter", GetTextureFilterName(gpu_sprite_texture_filter)); si.SetStringValue("GPU", "LineDetectMode", GetLineDetectModeName(gpu_line_detect_mode)); si.SetStringValue("GPU", "DownsampleMode", GetDownsampleModeName(gpu_downsample_mode)); si.SetUIntValue("GPU", "DownsampleScale", gpu_downsample_scale);