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

QGLShaderProgram::setUniformValue(int location, const QSize& size) method sends (width, width) to shader instead or (width, height).

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.1
    • 4.6.3
    • GUI: OpenGL
    • None
    • 88917087b64a014a69d12946a162ab6588e733e6

    Description

      The method QGLShaderProgram::setUniformValue(int location, const QSize& size) sends the values (width, width) to the shader instead of sending (width, height).

      See http://qt.gitorious.org/qt/qt/blobs/4.7/src/opengl/qglshaderprogram.cpp, line 2124. (Compare with line 2153 or 2066, the equivalent methods with QSizeF and QPoint arguments.)

      Attachments

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

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            julienp91 Julien Prémont
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes