Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.8.0
-
None
-
Windows 10/ANGLE driver
Description
QOpenGLTexture::hasFeature(QOpenGLTexture::ImmutableStorage) returns false on ANGLE OpenGL implementation even though it has the GL_EXT_texture_storage extension.
The problem seems to be this test on line 3476 of Src/qtbase/src/gui/opengl/qopengltexture.cpp
case ImmutableStorage:
supported = (f.version() >= qMakePair(3, 0) || ctx->hasExtension(QByteArrayLiteral("EXT_texture_storage")))
&& !(renderer && strstr(renderer, "Mali")); // do not use on Mali: QTBUG-45106
break;
The test should be for "GL_EXT_texture_storage", not "EXT_texture_storage".
Attachments
For Gerrit Dashboard: QTBUG-59189 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
187030,2 | Fix malformed GL extension name for immutable storage | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |