Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83034

MIssing GL_PRIMITIVE_RESTART_FIXED_INDEX for OpenGL ES

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.12.1
    • GUI: OpenGL
    • None
    • Android

    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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            tiroler Armin Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes