GPU/HW: Fix possibly-stale display with MSAA+Show VRAM

This commit is contained in:
Stenzek 2024-12-11 16:09:30 +10:00
parent 9743ce01a0
commit d8af8e4a60
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -3853,7 +3853,7 @@ void GPU_HW::UpdateDisplay()
{ {
if (IsUsingMultisampling()) 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(), SetDisplayTexture(m_vram_read_texture.get(), nullptr, 0, 0, m_vram_read_texture->GetWidth(),
m_vram_read_texture->GetHeight()); m_vram_read_texture->GetHeight());
} }