Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7
-
None
-
Apple MacBook Pro 2023
MacOS 15.1.1 (24B91)
Description
Here's sample code https://gitlab.com/strump/qt_gl_es3_bug
It's a simple Qt + OpenGL application. It draws a green triangle with some animation.
After upgrading Qt from 6.6.3 to 6.6.7 it's broken. You see only black screen and glGetError() gives error code 1282.
The same issue was reported by Linux users.
There's a workaround (see https://gitlab.com/strump/qt_gl_es3_bug/-/blob/master/README.md for details). After replacing setAttributeBuffer() with glVertexAttribPointer() the app become runnable with Qt 6.7.
What was modified in Qt 6.7 in context of OpenGL shaders and vertex buffer object binding?