mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-27 08:00:36 +00:00
GPU: Invalidate VRAM read texture when recreating framebuffer
This commit is contained in:
parent
e1578ad063
commit
7f8c7aa71c
@ -223,6 +223,7 @@ void GPU_HW_OpenGL::CreateFramebuffer()
|
||||
Assert(glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
|
||||
|
||||
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_vram_fbo);
|
||||
m_vram_read_texture_dirty = true;
|
||||
}
|
||||
|
||||
void GPU_HW_OpenGL::ClearFramebuffer()
|
||||
|
Loading…
Reference in New Issue
Block a user