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

Re: [pygame] erratic behavior with 'display.update(Rect)'





On Mon, Jul 13, 2015 at 6:54 PM tom arnall <kloro2006@xxxxxxxxx> wrote:

If display.update()' doesn't work with OPENGL, what do you use to
update just one area of the display?



There isn't a way to update a portion of the display using OpenGL. OpenGL expects you to redraw the screen from scratch every frame, and then flip to the next frame.

How are you drawing to the screen? Are you using GL calls? Or pygame blits to the screen surface? The later doesn't work with OPENGL.
Â