Re: texture_compression weirdness was Re: [PyOpenGL-Users] unable to build PyOpenGL on RedHat 8.0
Brought to you by:
mcfletch
From: Thomas W. <th...@xs...> - 2003-02-09 22:59:49
|
On Sun, Feb 09, 2003 at 07:23:05AM +0000, Rene Dudfield wrote: > What version of pyopengl are you using? 2.0.1.02 > should work for you. > If not, arg!!! Yes, 'arg!!!'. > extern void APIENTRY glCompressedTexSubImage3DARB > (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, > GLsizei, GLenum, GLsizei, const GLvoid *); extern void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *); Matches. Note how it's 11 arguments. However, from the actual wrapper template: DECLARE_VOID_EXT(glCompressedTexSubImage3DARB, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data), (target, level, xoffset, yoffset, zoffset, internalformat, width, height, depth, border, imageSize, data)) Notice how there's 12 arguments. The 'internalformat' GLenum is made up; it doesn't exist for the SubImage API. You should have just accepted the patch I uploaded, it was correct and tested on a platform that was actually broken :-) But that's why it's an alpha release, right ? :-) -- Thomas Wouters <th...@xs...> Hi! I'm a .signature virus! copy me into your .signature file to help me spread! |