Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.1.0
-
None
-
qt-windows-opensource-5.1.0-msvc2012_opengl-x86_64-offline.exe
fca8f6ff98ee4d01a6c8fcfef8e339f6
Description
OpenGL geometry shaders are not working when used the new Qt 5.1 classes: QOpenGLShaderProgram and QOpenGLShader.
See attached code.
In hellowindow.cpp line 175, glGetError returns 0x502 (invalid operation).
But if I try to use the obsolete classes (QGLShaderProgram and QGLShader), it is working correctly (no error returned by glGetError)! (un)comment the lines in hellowindow.h for test...