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

Re: [pygame] Bug: Circle tearing with mouse clicks within the window.



On 15/12/20 4:00 pm, Michael Baca wrote:
The following code, when run, causes an issue where the circle starts to tear as it moves across the screen

You could try

    screen = pg.display.set_mode((600, 400),
        flags = pg.HWSURFACE | pg.DOUBLEBUF)

According to the docs, this will cause screen.flip() to wait for
a vertical retrace.

--
Greg