#40 glGenProgramsARB pythoned

open
nobody
None
5
2010-04-22
2010-04-22
Anonymous
No

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).

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks