[ pyopengl-Bugs-2895081 ] Unknown specifier GL_MAX_TEXTURE_IMAGE_UNITS

"SourceForge.net" <[email protected]> Tue, 10 Nov 2009 09:04:52 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2895081, was opened at 2009-11-10 09:04
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2895081&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: GL
Group: v3.0.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Mike C. Fletcher (mcfletch)
Summary: Unknown specifier GL_MAX_TEXTURE_IMAGE_UNITS

Initial Comment:
Running:

print 'Max texture image units ', glGetInteger(GL_MAX_TEXTURE_IMAGE_UNITS)

Produces the following error:

  File "/usr/lib/python2.6/site-packages/OpenGL/wrapper.py", line 1282, in __call__
    return self._finalCall( *args, **named )
  File "/usr/lib/python2.6/site-packages/OpenGL/wrapper.py", line 552, in wrapperCall
    cArgs = tuple(calculate_cArgs( pyArgs ))
  File "/usr/lib/python2.6/site-packages/OpenGL/wrapper.py", line 355, in calculate_cArgs
    yield converter( pyArgs, index, self )
  File "/usr/lib/python2.6/site-packages/OpenGL/converters.py", line 195, in __call__
    return self.arrayType.zeros( self.getSize(pyArgs) )
  File "/usr/lib/python2.6/site-packages/OpenGL/converters.py", line 234, in getSize
    raise KeyError( """Unknown specifier %s"""%( specifier ))
KeyError: ('Unknown specifier GL_MAX_TEXTURE_IMAGE_UNITS (34930)', 'Failure in cConverter <OpenGL.converters.SizedOutput object at 0x187a140>', (GL_MAX_TEXTURE_IMAGE_UNITS,), 1, <OpenGL.wrapper.glGetIntegerv object at 0x1872f38>)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2895081&group_id=5988

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net