PDA

View Full Version : GL_EXT_texture_rectangle conflicting specs



Tom Nuydens
01-10-2003, 03:53 AM
http://developer.apple.com/opengl/extensions/ext_texture_rectangle.html http://www.ati.com/developer/atiopengl.pdf

The specifications for GL_EXT_texture_rectangle at the above URLs do not match. Apple uses the same enumerant values as GL_NV_texture_rectangle, whereas ATI has different values. Could someone who owns a Radeon tell me whether or not the NV_texture_rectangle enumerants work on ATI drivers?

-- Tom

PH
01-10-2003, 04:08 AM
The ATI spec is incorrect. The correct enumerants are the ones from the NV_texture_rectangle spec.

PH
01-10-2003, 04:11 AM
Almost forgot...yes, the NV enumerants work. I simply check for either the NV or EXT version but use the EXT tokens.

Tom Nuydens
01-10-2003, 04:29 AM
Thanks PH. I followed the same strategy, but that error in ATI's spec had me doubting whether it would work on Radeons.

-- Tom