On 2/21/08, simpsus_science <[EMAIL PROTECTED]> wrote: > glMatrixMode(GL_PROJECTION) > glLoadIdentity() > glOrtho(0, win.width, 0, win.height, -1, 1)
You're not switching back to GL_MODELVIEW after this. Perhaps your driver is getting confused (unlikely, really). Incidentally, these lines are redundant -- pyglet sets up this exact projection by default. > When I then change the size to 10, I get an exception no matter what > the text is. I'm assuming the exception is not a Python exception. Can you run your program in gdb and post the stack trace? Example: gdb python run testcode.py() ... (app breaks) ... bt 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 -~----------~----~----~----~------~----~------~--~---
