Hi,

From the docs, I found that:
gluBuild2DMipmaps( GLenum(target), GLint(internalFormat), GLsizei(width), GLsizei(height), GLenum(format), GLenum(type), c_void_p(data) ) -> GLint

But trying:
c_void_p(data)

Results in a:
TypeError: cannot be converted to pointer.

The solution:
data.ctypes.data

Thanks for all the help, everyone . . .

Ian