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

Re: [pygame] Possible bug in surfarray.colorkey_array



This bug is fixed in subversion already.

Wait a little while for pygame 1.8 or unlock twice.


Cheers,

On 7/15/06, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
On 14 Jul 2006 at 13:26, Ethan Glasser-Camp wrote:

> Hi,
>
> If you try to get the colorkey array of a surface using
> surfarray.colorkey_array, the surface becomes permanently locked, even
> though the docs say that the function only temporarily locks the
> surface. Deleting the array doesn't unlock the surface.
>
> I think this might stem from the duplicate call to PySurface_Lock in
> surfarray.c.
>
> Ethan
>
>
Yeah, I notice this problem too. I just called unlock twice on the
surface.

Lenard Lindstrom
<len-l@xxxxxxxxx>