[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] [BUG] SRCALPHA - unexpected behaviour.
ah, yep. I'm pretty sure I fixed the problems now with the commit
after the commit where I fixed get_bitsize etc.
Using 24bit surfaces with SRCALPHA is not supported at the moment, and
raises an exception. Which is better than a segfault :)
that's all I got around to doing today... I'll apply the other patches
later (the mmx fixes, and the fromstring() stuff.)
Cheers,
On 8/22/07, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> 24 bit surfaces do work when the flags are 0. It was the SRCALPHA flag
> that caused problems, whether pygame was initialized or not. It was just
> that when the surface depth was set to 24 bits implicitly, then the
> SRCALPHA flag was ignored. If explicitly then the SRCALPHA flag was
> processed and pygame segfaulted.
>
>
> René Dudfield wrote:
> > ah, I fixed those segfaults in svn. There were problems with
> > get_bytesize, and get_alpha too.
> >
> > I'm not sure why using a bitdepth of 24 doesn't work without
> > initializing pygame... So that can still be considered a bug that
> > needs investigation.
> >
> >
>
> --
> Lenard Lindstrom
> <len-l@xxxxxxxxx>
>
>