backends/x11: Remove GLFramebuffer::pushFramebuffer()

It's unbalanced and the scene is responsible for pushing the fbo now.
This commit is contained in:
Vlad Zahorodnii 2023-05-09 19:21:51 +03:00
parent 380aaab2cc
commit 75f79618e9

View file

@ -130,7 +130,6 @@ std::optional<OutputLayerBeginFrameInfo> X11WindowedEglPrimaryLayer::beginFrame(
QRegion repaint = m_output->exposedArea() + m_output->rect();
m_output->clearExposedArea();
GLFramebuffer::pushFramebuffer(m_buffer->framebuffer());
return OutputLayerBeginFrameInfo{
.renderTarget = RenderTarget(m_buffer->framebuffer()),
.repaint = repaint,