-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.0, 5.12.1
-
None
-
Windows 10 x64
MSVC 15.9.4
-
-
932b13d3ec76eedfc0e76e81c05b2d54552c0715 (qt/qtbase/5.12)
I try to make QOpenGLWidget use OpenGL ES 3.1 using ANGLE. The problem is that during creation of QWindowsEGLContext such attribute is set:
contextAttrs.append(EGL_CONTEXT_CLIENT_VERSION); contextAttrs.append(m_format.majorVersion()); contextAttrs.append(EGL_NONE);
As a result, opengl version is set to 3.0 (if values is missing (minor version) it is set to 0).
I have fixed it with code:
contextAttrs.append(EGL_CONTEXT_MAJOR_VERSION); contextAttrs.append(m_format.majorVersion()); contextAttrs.append(EGL_CONTEXT_MINOR_VERSION); contextAttrs.append(m_format.minorVersion()); contextAttrs.append(EGL_NONE);
Is it possible to add this fix to Qt?
| For Gerrit Dashboard: QTBUG-72762 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 251958,3 | windows: Support OpenGL ES versions > 3.0 with ANGLE | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |