[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Possible bug in surfarray.colorkey_array
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Possible bug in surfarray.colorkey_array
- From: Ethan Glasser-Camp <glasse@xxxxxxxxxx>
- Date: Fri, 14 Jul 2006 13:26:25 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 14 Jul 2006 13:32:00 -0400
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 1.5.0.4 (X11/20060619)
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
Attachment:
signature.asc
Description: OpenPGP digital signature