Re: [PyOpenGL-Users] Float Texture Mipmapping
Brought to you by:
mcfletch
From: Ian M. <geo...@gm...> - 2010-09-09 15:29:46
|
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 |