Rather than writing:

glBegin()
... draw
glEnd()

it would be nice to write:

with glContext():
    ... draw


I know I can easily create my own glContext context manager, but it
just seems that it would be nicer built in. Or is there one and I just
haven't found it?

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