Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12.1
-
None
Description
The name GL_PRIMITIVE_RESTART_FIXED_INDEX is missing for OpenGL ES, nevertheless it's defined from OpenGL 3.x upwards.
m_func = QOpenGLContext::currentContext()->extraFunctions(); m_func->glEnable(GL_PRIMITIVE_RESTART_FIXED_INDEX);
Does not work!
Workaround:
#ifndef GL_PRIMITIVE_RESTART_FIXED_INDEX #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 #endif
https://forum.qt.io/topic/112781/gl_primitive_restart_fixed_index-not-works-on-android-s-opengl-es/8