I have a game that has been working up until I added an on_resize handler to my game window. The game still works but doesn't display anything to the window, or it's invisible if it does. I have confirmed that the handler is getting called at the right time (it will run a print statement that reports the new width and height). The handler doesn't do anything else at the moment, and I've tried it with nothing but "pass" in the method. I have also tried it with on_resize doing its thing and then calling on_draw. Still nothing draws. Does anybody know what I'm doing wrong? Is there something else that should be in on_resize to make the program function as it did before?
-- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
