Skip to content

Commit

Permalink
Fix incorrect target passed to glBindFramebuffer (#6807)
Browse files Browse the repository at this point in the history
  • Loading branch information
bejado committed May 15, 2023
1 parent bf6bd4e commit dfdf0db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
glBindFramebuffer(GL_FRAMEBUFFER, pImpl->mDefaultFramebuffer);
GLenum const status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
ASSERT_POSTCONDITION(status == GL_FRAMEBUFFER_COMPLETE, "Incomplete framebuffer.");
glBindFramebuffer(GL_FRAMEBUFFER_BINDING, oldFramebuffer);
glBindFramebuffer(GL_FRAMEBUFFER, oldFramebuffer);
}
}

Expand Down

0 comments on commit dfdf0db

Please sign in to comment.