[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] Asynchronous updates with OpenGL
For anyone who missed the discussion on IRC, it looks like at least on
software rendering with GLX, SDL_GL_SwapBuffers, which
pygame.display.flip() calls for an OpenGL display, is asynchronous, so one
must call glFinish() to make sure all OpenGL commands are finished in order
to avoid getting ahead of what's displayed on the screen.
--
Sean R. Lynch KG6CVV <seanl@chaosring.org> http://www.chaosring.org/~seanl/
Jabber (www.jabber.org): kg6cvv@jabber.org Yahoo: kg6cvv
PGP signature