PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 945 - QGLShaderProgram.setAttributeArray - setting of values parameter wrong
: QGLShaderProgram.setAttributeArray - setting of values parameter wrong
Status: CLOSED DUPLICATE of bug 940
Product: PySide
Classification: Unclassified
Component: QtOpenGL
: HEAD
: PC Linux
: P5 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-26 11:55 EEST by Stephan Gerhard
Modified: 2011-08-23 00:37 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Gerhard 2011-07-26 11:55:49 EEST
I tried to set the values parameter for 
PySide.QtOpenGL.QGLShaderProgram.setAttributeArray(location, values,
tupleSize[, stride=0]) to a Python tuple - which returns an error about wrong
function signature. The Qt C++ API at
http://doc.qt.nokia.com/latest/qglshaderprogram.html#setAttributeArray defines
the values parameters as an array of GLfloats.

The simple shader example here:
http://www.pyside.org/docs/pyside/PySide/QtOpenGL/QGLShaderProgram.html#simple-shader-example
does not help, and is likely wrong.
Comment 1 Stephan Gerhard 2011-07-26 11:58:23 EEST
I just found that this is likely a duplicate of Bug 940.
Comment 2 Hugo Parente Lima 2011-07-26 16:10:26 EEST

*** This bug has been marked as a duplicate of bug 940 ***
Comment 3 renato filho 2011-08-23 00:37:18 EEST
Release PySide 1.0.6