From d8af8e4a6067f505ee2e7cd8716293b96611df65 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 11 Dec 2024 16:09:30 +1000 Subject: [PATCH] GPU/HW: Fix possibly-stale display with MSAA+Show VRAM --- src/core/gpu_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 14fd6e2a87..119ee15b7f 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -3853,7 +3853,7 @@ void GPU_HW::UpdateDisplay() { if (IsUsingMultisampling()) { - UpdateVRAMReadTexture(true, true); + UpdateVRAMReadTexture(!m_vram_dirty_draw_rect.eq(INVALID_RECT), !m_vram_dirty_write_rect.eq(INVALID_RECT)); SetDisplayTexture(m_vram_read_texture.get(), nullptr, 0, 0, m_vram_read_texture->GetWidth(), m_vram_read_texture->GetHeight()); }