GPU/HW: Flipping the mask bit test should flush

This commit is contained in:
Stenzek 2025-01-16 23:50:40 +10:00
parent cd8a160d8d
commit 092b2803c5
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -3684,6 +3684,7 @@ void GPU_HW::PrepareDraw(const GPUBackendDrawCommand* cmd)
if (texture_mode != m_batch.texture_mode || transparency_mode != m_batch.transparency_mode || if (texture_mode != m_batch.texture_mode || transparency_mode != m_batch.transparency_mode ||
(transparency_mode == GPUTransparencyMode::BackgroundMinusForeground && !m_allow_shader_blend) || (transparency_mode == GPUTransparencyMode::BackgroundMinusForeground && !m_allow_shader_blend) ||
dithering_enable != m_batch.dithering || m_texture_window_bits != cmd->window || dithering_enable != m_batch.dithering || m_texture_window_bits != cmd->window ||
m_batch.check_mask_before_draw != cmd->check_mask_before_draw ||
m_batch.set_mask_while_drawing != cmd->set_mask_while_drawing || m_batch.set_mask_while_drawing != cmd->set_mask_while_drawing ||
(texture_mode == BatchTextureMode::PageTexture && m_texture_cache_key != texture_cache_key)) (texture_mode == BatchTextureMode::PageTexture && m_texture_cache_key != texture_cache_key))
{ {