GPU/HW: Fix possible crash when changing texture filtering

This commit is contained in:
Stenzek 2024-06-30 17:33:10 +10:00
parent 037519936a
commit e169189441
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -408,6 +408,7 @@ void GPU_HW::UpdateSettings(const Settings& old_settings)
m_clamp_uvs = clamp_uvs;
m_compute_uv_range = m_clamp_uvs;
m_allow_sprite_mode = ShouldAllowSpriteMode(resolution_scale, m_texture_filtering, m_sprite_texture_filtering);
m_batch.sprite_mode = (m_allow_sprite_mode && m_batch.sprite_mode);
CheckSettings();