Mark Kilgard wrote:
> 
> oglbase-discuss,
> 
> Brian Paul writes:
> > 1. In glext_proto.h, glTexImage3D() has the wrong type for the internal
> >    format parameter.  It should be GLint, not GLenum.
> 
> A bit of history.
> [...]

I'm familiar with the history but I thought the 1.2.1 spec was
supposed to be the final word.  Mesa's been using GLint for
a long time.  I guess I'll change it if/when the spec is updated.

Also note (finally) that there are a few other functions which
take internalFormat parameters (such as glColorTable, glConvolution-
Filter[12]D, etc) and they use GLenum and generate the GL_INVALID_ENUM
error code.

-Brian

Reply via email to