GPU: Add some missing state reset

This commit is contained in:
Connor McLaughlin
2019-10-04 20:33:37 +10:00
parent 4422fb0545
commit 4d22bec8fd
4 changed files with 18 additions and 1 deletions

View File

@ -177,6 +177,7 @@ void GPU_HW_OpenGL::ClearFramebuffer()
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT);
glBindFramebuffer(GL_FRAMEBUFFER, 0);
m_vram_read_texture_dirty = true;
}
void GPU_HW_OpenGL::DestroyFramebuffer()