> A check through the gl.h header file indicates that the OpenGL included
> with Codewarrior 8.3 is version 1.1. This prevents me from using some
> features I need because OpenGL version 1.1 is out of date. IIRC, it's up
> to version 1.4 now.
> Does Metrowerks provide more current headers and libraries for OpenGL on
> Windows? If not, does anyone else provide CW 8.3-compatible headers and
> libraries for a current (v1.4?) version of OpenGL? I couldn't find
> anything at www.opengl.org. Or is there some other way to access the
> features of OpenGL v1.4?
Unfortunately, MS has stopped updating the OpenGL headers in the Win32 SDK.
So, while MW has not updated the Win32 SDK in a while (we will in Pro9 ;)
the OpenGL support has not changed at all. (I guess MS really really wants
people to use DirectX instead.)
Like you, I couldn't find anything useful on opengl.org. But they do claim
that it is possible to develop v1.4 hardware drivers for OpenGL in Win32 (I
wonder if updated headers are in the Windows Device Driver Kit (DDK)?).
I found this link, though:
"I was sick of this mess with OpenGL extensions and the fact that there is
no OpenGL 1.4 lib under Windows. So I wrote a small lib that simplifies
using extensions to 1 function and a OpenGL 1.2, 1.3 and 1.4 header, and it
also includes many extensions, so no need to use glext.h anymore. My lib
automatically initializes all available and supported extensions. (Under
linux it only initializes extensions, not the OpenGL 1.2, 1.3 and 1.4 core
functions) The only thing you need to do is call extgl_Initialize() function
and it will automatically detect and initialize all supported(supported by
the driver and supported by my lib) extensions and also OpenGL 1.2, 1.3 and
1.4 functionality. The bad thing is that it still does not eliminate the
problem of using extensions or OpenGL 1.2, 1.3 and 1.4functionality with
multiply rendering contexts. You should know what extensions are, if you
don't know read this."