On Jan 7, 2008 9:40 AM, Patrick Devine <[EMAIL PROTECTED]> wrote: > This works fine if I call it directly, but doesn't seem to display at > all when I call it in my game between these two methods (which is > similar to the stuff in the Turret Command demo): > > def mode2d(self): > glLoadIdentity() > glPushAttrib(GL_ENABLE_BIT) > glEnable(GL_TEXTURE_2D)
I imagine it's because you're enabling GL_TEXTURE_2D and trying to draw solid colours. (Haven't looked at Flávio's code though; maybe it already takes care of this). 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 -~----------~----~----~----~------~----~------~--~---
