Hi all, I think this is ctypes related but how can I call the glShaderSourceARB function?
The function have this header: glShaderSourceARB( GLhandleARB(shaderObj), GLsizei(count), POINTER(arrays.GLcharARBArray)(string), GLintArray(length) ) -> None I call the function with someting like: glShaderSourceARB(self._object, 1, sourceString, 1) The error is "expected LP_GLcharArray instance instead of str" In fact I don't have any information on how to use this function. This is the last version of pyopengl available on the CVS (PyOpenGL-3.0.0a5-py2.5.egg) -- http://mail.python.org/mailman/listinfo/python-list