[PyOpenGL-Devel] [ pyopengl-Bugs-2645723 ] Error using glGetShaderiv on Windows
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2009-02-27 15:45:22
|
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 |