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

Re: [pygame] New on the mailing list with a strange FPS behavior



On Nov 12, 2007 4:29 PM, Ghislain Leveque <ghislain.leveque@xxxxxxxxx> wrote:
>
> And I can see the freezing.

Put a time.sleep(0) call in your inner loop. The problem will likely go away.


-- 
    :: Simon Wittber
    :: http://www.linkedin.com/in/simonwittber
    :: phone: +61.4.0135.0685
    :: jabber/msn: simonwittber@xxxxxxxxx