[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Double buffer question



Well, the flags that work would be dependent on your what your hardware supports. It sounds like you are not deleting the screen object before exiting the program. If I have the time, I'll take a look at the code later and see if I can identify the problem. What version of pygame are you using?

-Tyler

On Sat, Jun 13, 2009 at 12:23 PM, PierreLafrance1@xxxxxxxxxxxx <PierreLafrance1@xxxxxxxxxxxx> wrote:
Hi
When application quit, display stay with last displayed image.  Linux is
running fine  (SSH works fine, we can reboot embedded computer) but
display is kind of freeze.  We use function pygame.display.flip() when
image need to be updated.  We dont use any flags for set_mode.  We tried
couples, but generates errors.

Thanks
Pierre

Ian Mallett wrote:
> Look at the flags for pygame.display.set_mode() here,
> http://www.pygame.org/docs/ref/display.html#pygame.display.set_mode,
> or tell us more about what the problem is specifically,
> Ian




--
Visit my blog at http://oddco.ca/zeroth/zblog