Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9
-
None
-
-
3869106cc (dev), 33d74f3f5 (6.9), 5ee58a4f0 (6.8)
Description
src/gui/rhi/qrhigles2.cpp line 3431 has:
f->glBindFramebuffer(GL_FRAMEBUFFER, ctx->defaultFramebufferObject()); if (cmd.args.bindFramebuffer.stereo && cmd.args.bindFramebuffer.stereoTarget == QRhiSwapChain::RightBuffer) bufs.append(GL_BACK_RIGHT); else bufs.append(caps.gles ? GL_BACK : GL_BACK_LEFT); } if (caps.hasDrawBuffersFunc) f->glDrawBuffers(bufs.count(), bufs.constData());
On ubuntu 24 + wayland, the draw buffer is set to GL_COLOR_ATTACHMENT0 which means the glDrawBuffers command produces an error. This caused an assert in qtwebengine: https://bugreports.qt.io/browse/QTBUG-132608.
Attachments
For Gerrit Dashboard: QTBUG-132780 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
616941,1 | Fix faulty glDrawBuffers call in RhiGles2 backend | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
619407,7 | rhi: gl: Honor deafultFbo from the QOpenGLContext better | dev | qt/qtbase | Status: MERGED | +2 | +1 |
620431,2 | rhi: gl: Honor deafultFbo from the QOpenGLContext better | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
620779,2 | rhi: gl: Honor deafultFbo from the QOpenGLContext better | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |