enjalot/adventures_in_opencl — pull request #4 by fean9r (2012-02-20 17:06:05+00:00)
Title: one update in OpenGL.arrays.vbo ?

on my MacBook Pro 5.1 this line throws this error with buffers[0] :

self.arr_cl = cl.GLBuffer(self.ctx, mf.READ_WRITE, int(self.arrvbo.buffers[0]))
File "vbo.pyx", line 175, in OpenGL_accelerate.vbo.VBO.__getattr__ (src/vbo.c:1784)
AttributeError: 'numpy.ndarray' object has no attribute 'buffers'

with int(self.arrvbo.buffer) it works perfectly