GPU: Fix transparency mode update not being applied

This commit is contained in:
Connor McLaughlin 2019-10-05 00:01:45 +10:00
parent 6541c82071
commit 64aa3f56c3
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ void GPU_HW_OpenGL::SetDrawState()
m_vram_read_texture->Bind();
if (m_last_transparency_enable != m_batch.transparency_enable ||
(!m_last_transparency_enable && m_last_transparency_mode != m_batch.transparency_mode))
(m_last_transparency_enable && m_last_transparency_mode != m_batch.transparency_mode))
{
m_last_transparency_enable = m_batch.texture_enable;
m_last_transparency_mode = m_batch.transparency_mode;