On Thu, Mar 27, 2008 at 12:56 PM, Thomas Woelz <[EMAIL PROTECTED]> wrote:
>
>  Ok now it works. But the programming guide has a small typo, the
>  method names to set and unset GL states are not just 'set' and
>  'unset', but set_state and unset_state.
>
>  class BlendEnableGroup(pyglet.graphics.Group):
>     def set_state(self):
>         pyglet.gl.glEnable(pyglet.gl.GL_BLEND)
>
>     def unset_state(self):
>         pyglet.gl.glDisable(pyglet.gl.GL_BLEND)

Thanks, fixed in r1976.

Alex.

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