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

glGetFloatv Erroneous ValueError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 6.3.1
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Environment:
      Windows 10, x64-bit
      Python 3.8.10, x64-bit
      PySide 6.3.1
    • Platform/s:
      Windows
    • Commits:
      0d3b7313c1 (pyside/pyside-setup/dev) 0d3b7313c1 (pyside/tqtc-pyside-setup/dev)

      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes