Where to get OpenGL 1.2 headers

Where on Earth can I download OpenGL 1.2 headers that I can compile on my Windows machine? I’m specifically running into the problem that I need GL_CLAMP_TO_EDGE but only GL_CLAMP is available in the headers I have. Thanks!

I too am looking for the OpenGL 1.2 headers. I can’t understand if nvidia can distribute 1.3 compliant drivers, why can’t they include the 1.2 header. Specifically I need the gl_bgr definition. Now I have to reboot to Linux to get the definition so I can recompile my game under Win32. What a pain…I should just stay in Linux where 1.2 header file is easily availible hehe :slight_smile:


That’s an extension header. Include gl.h and this one. You’ll still have to GetProcAddress() for all features introduced after GL1.1.
For real OpenGL1.3 support go pester M$.

Strange… I used the GL_CLAMP_TO_EDGE enumerant (0x812F) with glTexParameterf() and I’m still having border problems on my GeForce2 when drawing a skybox. Is there something else about 1.2 that would keep me from simply using this enumerant with my 1.1 headers? Thanks!

Well, I’ve written 1.3 headers some time ago and also a lib which autoloads all after-1.1 stuff, maybe you’ll find it useful

its available here


[This message has been edited by Lev (edited 03-04-2002).]

Punchey: I’m not 100% sure (more like 95%) but I think I’ve read somewhere that all NVidia chips cards up to and including Gf2 lack the hardware support for GL_CLAMP_TO_EDGE. Geforce 3 and up is fine though.

Hmmm… so how the heck do people render sky boxes without lines where the quads converge? I’ve read alot on these boards where people have had problems with their skyboxes and fixed it by applying either GL_CLAMP or GL_CLAMP_TO_EDGE. But neither approach seems to have any effect whatsoever in my app.

Check out the OpenGL SDK at http://oss.sgi.com/projects/ogl-sample/sdk.html

It’s a beta Intel GL SDK. It should be pretty easy to use and should get you up and running with 1.2, 1.3 and extensions in no-time.

That’s what I think, but I’ve only been programming OpenGL for three days now, so what do I know?!?