> However I'm unable to find:
> - How to specify the profile type? I always receive OpenGL Compatibility
> Profile context, while I'd appreciate a Core Profile or Core Forward
> Compatible Profile.
> - How to ask for a specific context version, i.e. not necessarily the
> newest?

Look at the source of the "opengl_3.py" example from the "examples" folder.
You can specify the version and profile in the config.


> 2. I've noticed that the pyglet/gl/gl.py module contains auto-generated
> bindings to C functions. Could it make sense to use this same generator to
> make a selection of imports, one per each GL version, so that you could only
> import symbols relevant to a given OpenGL version?

Currently that's not possible, the script has no information about
which functions are available in which OpenGL version.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to