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

OpenGL geometry shaders not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.1.0
    • GUI: OpenGL
    • None
    • qt-windows-opensource-5.1.0-msvc2012_opengl-x86_64-offline.exe
      fca8f6ff98ee4d01a6c8fcfef8e339f6

    Description

      OpenGL geometry shaders are not working when used the new Qt 5.1 classes: QOpenGLShaderProgram and QOpenGLShader.

      See attached code.
      In hellowindow.cpp line 175, glGetError returns 0x502 (invalid operation).

      But if I try to use the obsolete classes (QGLShaderProgram and QGLShader), it is working correctly (no error returned by glGetError)! (un)comment the lines in hellowindow.h for test...

      Attachments

        1. qtbug32243.tar
          30 kB
        2. opengl-geoshader.zip
          10 kB
        3. OpenGL_Test.zip
          555 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            rivierakid Martin Dusek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes