From 536f0ee8b71f0a2ab27a4321d3a1e583d4063525 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 2 Jun 2023 20:28:26 -0500 Subject: [PATCH] [glutils] Fix FrameBufferBind unbind to no frame buffer --- src/glutils/glutils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/glutils/glutils.cpp b/src/glutils/glutils.cpp index 9715732f..bcdca14c 100644 --- a/src/glutils/glutils.cpp +++ b/src/glutils/glutils.cpp @@ -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); } }