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

Re: [pygame] Per Pixel Alpha



Lenard Lindstrom wrote:
Brian Fisher wrote:
On Feb 8, 2008 8:20 PM, Lenard Lindstrom <len-l@xxxxxxxxx <mailto: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.

This just came up on the IRC channel, so maybe it bears repeating here too. If you want pixel-alphas, use .convert_alpha(). Don't futz around with the depth manually, as it is less portable and there is no reason.

--Noah

Attachment: signature.asc
Description: OpenPGP digital signature