Hello there,

I'd like to know how to use pyglet against a specific OpenGL version.

1. I already know that I can query the available OpenGL version using the 
gl_info module, and than I can specify some OpenGL context configuration. 
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?

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?

Best regards,
-- Kos

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyglet-users/-/6XHejTbsgB0J.
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