From: Brian P. <br...@va...> - 2000-09-09 23:49:00
|
Michael Vance wrote: > > Brian, > > As a heads up, the official ARB_texture_compression standard > (http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_compression.txt) > defines the internalFormat parameter of CompressedTexImage* to be > 'int' and not 'enum'. I would think 'enum' is more appropriate, but > there it is all the same. A good C++ compiler will complain about > this. Hmmm, the spec says internalFormat should be a GLint but SGI's glext.h file has GLenum. Also, the gl.spec file (which is used to generate glext.h and other files) uses the PixelInternalFormat type which in all other functions maps to GLenum. Looks like an inconsistency in the gl.spec file. I'll contact SGI. -Brian |