GPU: Use GL_DRAW_FRAMEBUFFER binding instead of GL_FRAMEBUFFER
This commit is contained in:
1 parent
88d59a774f
commit
ae260b924c
2 files changed
+20
-20
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user