On Mon, Jul 23, 2012 at 6:46 AM, anatoly techtonik <[email protected]>wrote:

> Hi,
>
> What is the correct way to initiate window redraw?
>

What's wrong with scheduling an update function? IIRC, that should trigger
a redraw whenever it occurs.

def update(dt):
    pass

pyglet.clock.schedule_interval(update, 1/60.0)

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

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