From 092b2803c543ad808ec56a4c44ad04ddb1f48b19 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 16 Jan 2025 23:50:40 +1000 Subject: [PATCH] GPU/HW: Flipping the mask bit test should flush --- src/core/gpu_hw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index f61428716..51b20c8a0 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -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)) {