GS/HW: Fix mipmap level not updating on live config change

This commit is contained in:
Connor McLaughlin 2022-02-19 17:16:17 +10:00 committed by lightningterror
parent 728b3eb5db
commit 9ed33d4337
1 changed files with 3 additions and 2 deletions

View File

@ -204,8 +204,9 @@ void GSRendererHW::SetGameCRC(u32 crc, int options)
m_hacks.SetGameCRC(m_game);
// Code for Automatic Mipmapping. Relies on game CRCs.
m_mipmap = (GSConfig.HWMipmap >= HWMipmapLevel::Basic);
if (GSConfig.HWMipmap == HWMipmapLevel::Automatic)
m_hw_mipmap = GSConfig.HWMipmap;
m_mipmap = (m_hw_mipmap >= HWMipmapLevel::Basic);
if (m_hw_mipmap == HWMipmapLevel::Automatic)
{
switch (CRC::Lookup(crc).title)
{