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

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



Marcus von Appen wrote:

Surfaces do not feature a tracking of lock counts at the moment.

That might have to change if you want to have more than
one pixel array referencing a surface at once.

The alternative would be to disallow creating a pixel
array for a surface that is already locked.

--
Greg