[glutils] Fix FrameBufferBind unbind to no frame buffer

This commit is contained in:
Gary Talent 2023-06-02 20:28:26 -05:00
parent e1a1938762
commit 536f0ee8b7

@ -61,7 +61,6 @@ FrameBufferBind::~FrameBufferBind() noexcept {
glViewport(0, 0, s_activeFb->width, s_activeFb->height);
} else {
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glViewport(0, 0, s_activeFb->width, s_activeFb->height);
}
}