Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.7.2, 4.8.0
-
None
-
Qt (master)(sha1 53f16164661f8692aef9bd941b92697a047c0f4c)
OpenGL version string: 3.3.0 NVIDIA 260.19.36
Gentoo Linux x86_64
Description
The function QGLExtensions::Extensions QGLExtensions::currentContextExtensions() uses a call to glGetString(GL_EXTENSIONS) in order to retrieve the string of supported OpenGL extensions.
When using OpenGL >= 3.1 along with the CoreProfile, the glGetString() entry point is deprecated and removed. This results in a null pointer to const char* which in turn results in Qt's OpenGL support thinking that no extensions are available at all. This then causes QGLShaderProgram to think that shaders are not supported either.
I am now going to see if I can come up with a patch to fix this. If so I'll add it as a MR on gitorious.