mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 04:25:37 +00:00
GPU/HW: Fix possibly-stale display with MSAA+Show VRAM
This commit is contained in:
parent
9743ce01a0
commit
d8af8e4a60
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user