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

QOpenGLShaderProgram::setAttributeBuffer incorrectly calls glVertexAttribPointer on desktop with integer/double types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.4.0 RC
    • GUI: OpenGL
    • None

    Description

      When passing in for e.g. GL_INT to setAttributeBuffer(), QOGLShaderProgram should call glVertexAttribIPointer(). Similarly 64-bit types should call glVertexAttribLPointer(). However, QOGLSP always calls glVertexAttribPointer leading to incorrect behaviour on desktop OpenGL.

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            seanharmer Sean Harmer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes