[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] no unlock: surfarray.pixels2d() and PixelArray() bug or intented?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] no unlock: surfarray.pixels2d() and PixelArray() bug or intented?
- From: "Jake b" <ninmonkeys@xxxxxxxxx>
- Date: Fri, 6 Jun 2008 14:20:28 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 06 Jun 2008 15:20:34 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=LIAHnOn9kaOHbgAd7OwGbtygEdKaMe+LFtplEbQkHYA=; b=iSV3v5p2w0t8mXBexCJxi1nXkNl7RVYNr73uPEqEuQhc060fewZb9EO5LSThmtfuw+ GQT420iGEd4jCY6qwLgWjq5INHitOsoiYSxpDySqYDcY81I4CjFsrCS27z7KOaeuYGgg knTaCfV7woOyvgMBigA+xrhHFIZSDynT8GoXs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=FWssYAqyS3u7z5hNL5DDXO+Hw0r+ayYDXNSapV0A+u/+bSs1MUXg6fuZJzQO+QeUwN zVpkDt/anyGo191ToH+r+3CL5hnZSNEvY8p2zyYuN1lqrjUCgli93KeNVY1+NbBNQBV7 eoq7jf4iQBHSTaAuSx7223aQqU6+4+QY2ePzg=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
version: pygame '1.8.0release'
When using pygame.surfarray.pixels2d( surface ) or pygame.PixelArray( surface ) they both lock the screen surface, but do not unlock when done.
Is this a bug, or is it intended behavior? If so, why? It seems backwards to me.
--
Jake