GPU: Invalidate VRAM read texture when recreating framebuffer

This commit is contained in:
Connor McLaughlin 2019-10-05 15:05:46 +10:00
parent e1578ad063
commit 7f8c7aa71c

View File

@ -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()