[ pyopengl-Bugs-3404017 ] glProgramParameteri is undefined

SourceForge.net <[email protected]> Sun, 04 Sep 2011 13:41:20 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #3404017, was opened at 2011-09-04 13:41
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3404017&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glProgramParameteri is undefined

Initial Comment:
glProgramParameteri is undefined. This makes usage of geometry shaders impossible.

The error happens here:

File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/OpenGL/platform/baseplatform.py", line 344, in __call__
    self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function glProgramParameteri, check for bool(glProgramParameteri) before calling


A workaround for the windows platform can be found here:
https://sites.google.com/site/dlampetest/python/geometry-shaders-from-python
and here:
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=277436

Unfortunately I couldn't find a workaround for the mac or linux.
If you have questions or a tip for a workaround, please write me: pyopengl [at] pdietrich.net

Cheers!
Patrick

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

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

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net