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

Re: [pygame] no unlock: surfarray.pixels2d() and PixelArray() bug or intented?



Do you have an example of the code you wrote that behaves differently than you wanted?

It may be by design, but you may have found a bug as well. Also, people on the list may be able to help you with ways to do what you want without bugs or problems.

On Fri, Jun 6, 2008 at 12:20 PM, Jake b <ninmonkeys@xxxxxxxxx> wrote:
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