1
0
Fork 0
forked from suyu/suyu

Merge pull request #3623 from ReinUsesLisp/renderdoc-bind-spam

qt/bootmanager: Remove unnecessary glBindFramebuffer
This commit is contained in:
Fernando Sahmkow 2020-04-09 18:02:17 -04:00 committed by GitHub
commit f570b129a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,7 +224,6 @@ public:
} }
context->MakeCurrent(); context->MakeCurrent();
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
if (Core::System::GetInstance().Renderer().TryPresent(100)) { if (Core::System::GetInstance().Renderer().TryPresent(100)) {
context->SwapBuffers(); context->SwapBuffers();
glFinish(); glFinish();