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

Re: [pygame] Per Pixel Alpha



On Feb 8, 2008 8:20 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
What I have noticed is that omitting depth for a SRCAPLHA surface is
common practice. It must work on most machines. But it is problematic
with 1.8 when one's video depth is 24.

I think you're right. svn pygame now gives you a 32-bit surface if the video depth is 24, you asked for SRCALPHA and didn't specify a bitdepth. It still throws an exception if people explicitly ask for a 24-bit surface with SRCALPHA though.