renderer: reset fb pointers after render pass

fixes #4590
This commit is contained in:
Vaxry 2024-02-02 14:56:04 +00:00
parent 7447be8220
commit d7514412d8

View file

@ -329,6 +329,9 @@ void CHyprOpenGLImpl::end() {
m_RenderData.mouseZoomFactor = 1.f;
m_RenderData.mouseZoomUseMouse = true;
m_RenderData.forceIntrospection = false;
m_RenderData.currentFB = nullptr;
m_RenderData.mainFB = nullptr;
m_RenderData.outFB = nullptr;
// check for gl errors
const GLenum ERR = glGetError();