My gl.h (which came with both vs.net and vc++.net) are from 1995 and don’t have it.
Thanx, I’ve looked around this site but can’t find it.
Edit: ok, so now I know that I can’t get an updated gl.h (thank you microsoft!) So I included glext.h but this file does not contain GL_CLAMP_TO_EDGE. My gl version is 1.3 and I do support the edge-clamp extension. Do I have to “activate” the extension like I’ve seen done for arb_multitexture? (ps- I searched the glext.h file for the word “clamp” and it is not in there: it is Copyright 1992-1999 Silicon Graphics, Inc.)
thanx!
[This message has been edited by C123 (edited 03-16-2003).]
This is the site you want to get it from. It has the latest stuff on there as they change it every two minutes.
Originally posted by C123:
[b]Thanx! I guess I had a really old copy of glext.h. I downloaded the one from here (its about 10 times longer than my old one!)
& it works, thanx [/b]
[This message has been edited by mancha (edited 03-16-2003).]
The only place I have found a newer version is with the mesa library: www.mesa3d.org
However, the one at the above address is certainly new enough for GL 1.3, so will include CLAMP_TO_EDGE. It does not include things like ARB_vertex_program.
If you are using quite alot of features which are above 1.1 however, I suggest you download the library from www.levp.de/3d which will handle everything for you.