GPU: Use GL_DRAW_FRAMEBUFFER binding instead of GL_FRAMEBUFFER

This commit is contained in:
Connor McLaughlin
2019-10-05 14:45:30 +10:00
parent 88d59a774f
commit ae260b924c
2 changed files with 20 additions and 20 deletions

View File

@ -402,7 +402,7 @@ void SDLInterface::Render()
m_system->GetGPU()->ResetGraphicsAPIState();
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT);