Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2017

glGetFloatv Erroneous ValueError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.3.1
    • PySide
    • None
    • Windows 10, x64-bit
      Python 3.8.10, x64-bit
      PySide 6.3.1
    • Windows
    • 0d3b7313c1 (pyside/pyside-setup/dev) 0d3b7313c1 (pyside/tqtc-pyside-setup/dev), b35a0eb98 (dev), a09f6aa2a (6.5)

    Description

      When QOpenGLFunctions function glGetFloatv is called like so:
       

      clearColor = []
      f.glGetFloatv(GL.GL_COLOR_CLEAR_VALUE, clearColor)
      

       
      PySide returns the following ValueError:

      ValueError: 'PySide6.QtGui.QOpenGLFunctions.glGetFloatv' called with wrong argument values:
        PySide6.QtGui.QOpenGLFunctions.glGetFloatv(GL_COLOR_CLEAR_VALUE, [])
      Found signature:
        PySide6.QtGui.QOpenGLFunctions.glGetFloatv(int, Sequence[float])
      

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2017
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              ahendry Adam Hendry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: