On 7/16/08, Ben Sizer <[EMAIL PROTECTED]> wrote:
>
>  On Jul 16, 10:07 am, SupahFly <[EMAIL PROTECTED]> wrote:
>  > My game is running at 60 fps and it works great in windowed mode, but
>  > when I run it in fullscreen the command window.flip() becomes unstable
>  > and takes a diffrent amount of time each time, spanning from (0.007 s
>  > to 0.02 s). When in windowed mode it always takes 0.007 s +- 0.0005 s.

At .007 seconds per frame, your game is running at > 140 FPS, and it's
natural for things to get a little +/- at that rate due to
multitasking etc.  Try turning vsync on if your video card supports
it.

>
> In fullscreen, a flip may wait for the next vsync, while in windowed
>  mode it may not do that.

That's not true for any video device/driver I've seen.

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

Reply via email to