On 1/3/08, Mike Lawrence <[EMAIL PROTECTED]> wrote:
>
> The documentation reports that the default graphics are double-
> buffered, which (as I understand the term 'double-buffered') means
> that the following code should present a white square on a black
> screen for 2 seconds, then a blue square on a black screen for 2
> seconds, then the white square again for 2 seconds. However, when I
> run it (pyglet 1.0beta3 with python 2.5 on OS 10.5.1), I get a white
> square for 2 seconds, and a blue square for 4 seconds.

The contents of the front buffer is undefined after a flip; some video
drivers preserve the front buffer as you expect, others don't.  Some
OpenGL drivers provide a way to specify the behaviour, but pyglet does
not export this option.

Regardless, when double-buffering, the buffer that is being written to
is different from the one being displayed.

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