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

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



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