|
From: Greg E. <gre...@ca...> - 2005-09-26 09:19:40
|
Chris Barker wrote: > This is a Darn Good example of why we need the new array protocol. I came across another one the other day when working on pygui. I wanted to use glReadPixels to read data into a buffer belonging to an NSBitmapImageRep, but PyOpenGL's glReadPixels can only read data into an existing memory block if it's a Numeric array, and PyObjC doesn't know anything about Numeric... Greg |