Skip to content

Commit

Permalink
GPU/HW: Fix possibly-stale display with MSAA+Show VRAM
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 11, 2024
1 parent 9743ce0 commit d8af8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gpu_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit d8af8e4

Please sign in to comment.