[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] OpenGL and blitting



From: "Sami Hangaslammi" <shang@cc.jyu.fi>

> What would be the preferred method of blitting pygame surfaces to an
> opengl screen? I couldn't get OPENGLBLIT to work, so I ended up making the
> following function:

Here's an example I posted to this list some time
ago:

http://aspn.activestate.com/ASPN/Mail/Message/pygame-users/1373087

It also demonstrates alpha blending (hardware
assisted if the driver supports it).



____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org