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

OpenGLWindow example uses hardcoded indices

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • None
    • Examples and Demos
    • None
    • 5d3e6ef9092eb1e2fb59d3198c770561cdc517c7 (qt/qtbase/5.15)

    Description

      The arguments to glEnableVertexAttribArray() and glDisableVertexAttribArray() in the TriangleWindow::render() method are hardcoded to 0 and 1.
      A patch using m_posAttr and m_colAttr instead is attached.

      Attachments

        For Gerrit Dashboard: QTBUG-43566
        # Subject Branch Project Status CR V

        Activity

          People

            docteam Qt Documentation Team
            jhnnslschnr Johannes Leuschner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes