mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 07:15:41 -04:00
GPU/HW: Fix possible crash when changing texture filtering
This commit is contained in:
parent
037519936a
commit
e169189441
@ -408,6 +408,7 @@ void GPU_HW::UpdateSettings(const Settings& old_settings)
|
|||||||
m_clamp_uvs = clamp_uvs;
|
m_clamp_uvs = clamp_uvs;
|
||||||
m_compute_uv_range = m_clamp_uvs;
|
m_compute_uv_range = m_clamp_uvs;
|
||||||
m_allow_sprite_mode = ShouldAllowSpriteMode(resolution_scale, m_texture_filtering, m_sprite_texture_filtering);
|
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();
|
CheckSettings();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user