mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
GPU: Fix transparency mode update not being applied
This commit is contained in:
parent
6541c82071
commit
64aa3f56c3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue