Description
When configuring with -opengl es2 on a modern Mesa-based system, the qrhi autotest started to show:
PASS : tst_QRhi::renderToWindowSimple(Null)
QWARN : tst_QRhi::renderToWindowSimple(OpenGL) QEGLPlatformContext: eglMakeCurrent failed: 3009
QWARN : tst_QRhi::renderToWindowSimple(OpenGL) QRhiGles2: Failed to make context current. Expect bad things to happen.
FAIL! : tst_QRhi::renderToWindowSimple(OpenGL) 'rhi->beginFrame(swapChain.data()) == QRhi::FrameOpSuccess' returned FALSE. ()
Loc: [tst_qrhi.cpp(1659)]
PASS : tst_QRhi::renderToWindowSimple(Vulkan)
Everything else seems to work fine, however.