Why don't I get a constant clock.tick?
It is double 3 times in a second in my PC(win32).
May be due to ECC RAM?
#Tick Test Graph
#------------------------------------------
from pyglet.gl import *
from pyglet import window
import pyglet.clock
win = window.Window(width=1000,height=200)
clock=pyglet.clock.Clock()
clock.set_fps_limit(60)
x=0
sy=4000
while not win.has_exit:
win.dispatch_events()
dt=clock.tick()
glBegin(GL_LINES)
glVertex2f(x,0)
glVertex2f(x,dt*sy)
glEnd()
x+=1
win.flip()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---