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

Re: [pygame] PATCH: New patch for using NumPy with PyGame



Lenard Lindstrom wrote:
Travis Oliphant wrote:

Here is a new patch for using NumPy with PyGame that eliminates the flag-setting that was going on in the C-code. This flag setting is un-necessary.


The arrays returned are now writeable as they should be.

Works much better. The "soften" part of arraydemo.py still gives a black
image. "soften" assumes a Numeric style type promotion for
multiplication that NumPy doesn't do.

Thanks for the hint.


-Travis