[PyOpenGL-Devel] [ pyopengl-Patches-2990717 ] glGenProgramsARB pythoned
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2010-04-22 04:54:06
|
Patches item #2990717, was opened at 2010-04-22 04:54 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=2990717&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: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: glGenProgramsARB pythoned Initial Comment: Just a simple patch to make glGenProgramsARB more python-like. Just insert: glGenProgramsARB = wrapper.wrapper( glGenProgramsARB ).setOutput( 'programs', lambda n: (n,), 'n', ) on OpenGL/GL/ARB/vertex_program.py and thats it. I copied the pattern of glGenBuffers. Author: Ricardo Lenz (riclc -+at+- hotmail). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=2990717&group_id=5988 |