Skip to content

Commit

Permalink
GPU/HW: Flipping the mask bit test should flush
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 16, 2025
1 parent cd8a160 commit 092b280
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/gpu_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3684,6 +3684,7 @@ void GPU_HW::PrepareDraw(const GPUBackendDrawCommand* cmd)
if (texture_mode != m_batch.texture_mode || transparency_mode != m_batch.transparency_mode ||
(transparency_mode == GPUTransparencyMode::BackgroundMinusForeground && !m_allow_shader_blend) ||
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 ||
(texture_mode == BatchTextureMode::PageTexture && m_texture_cache_key != texture_cache_key))
{
Expand Down

0 comments on commit 092b280

Please sign in to comment.