[ pyopengl-Bugs-2645723 ] Error using glGetShaderiv on Windows
"SourceForge.net" <[email protected]> Fri, 27 Feb 2009 15:45:16 +0000
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2645723, was opened at 2009-02-27 16:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2645723&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Gijs (gijs-sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error using glGetShaderiv on Windows
Initial Comment:
I'm trying to use glGetShaderiv on Windows, but the code that ran just fine on Mac OS X, will not run on Windows. I get the following error:
Traceback (most recent call last):
<snip>
File "Z:\school\projectglass\Src\gijs\3dhand\lib\glshaders.py", line 68, in compileShader
glGetShaderiv(shader, GL_COMPILE_STATUS, byref(status))
File "C:\Python25\Lib\site-packages\OpenGL\lazywrapper.py", line 9, in __call__
return wrapper( baseFunction, *args, **named )
TypeError: glGetShaderiv() takes exactly 3 arguments (4 given)
Well, as anyone can see, I *am* supplying the function with 3 arguments, not 4. Anyone any idea what I'm doing wrong here? Has it got something to do with the OpenGL bindings in Windows?
Regards, Gijs
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2645723&group_id=5988
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net