therealremi
12-20-2006, 03:38 AM
I want to use some opengl extension. What do I have to do in code to enable it? I know it is supported on my system. So should I download a file:
http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
and include it? Or maybe this file:
http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h?
But here:
http://oss.sgi.com/projects/ogl-sample/ABI/
they write "glext.h is normally included by gl.h", so I don't have to do anything?
I took a look at:
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl\gl.h
and there is no single #include in this file.
Btw. is there anything specific about these microsoft GL headers? Are there any other GL headers that I can use instead to get more functionality?
You see that I'm completely lost with this headers stuff, so any explanation would be welcome. Cause this:
http://www.opengl.org/resources/faq/technical/extensions.htm
is a very poor faq for beginners.
http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
and include it? Or maybe this file:
http://oss.sgi.com/projects/ogl-sample/ABI/wglext.h?
But here:
http://oss.sgi.com/projects/ogl-sample/ABI/
they write "glext.h is normally included by gl.h", so I don't have to do anything?
I took a look at:
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include\gl\gl.h
and there is no single #include in this file.
Btw. is there anything specific about these microsoft GL headers? Are there any other GL headers that I can use instead to get more functionality?
You see that I'm completely lost with this headers stuff, so any explanation would be welcome. Cause this:
http://www.opengl.org/resources/faq/technical/extensions.htm
is a very poor faq for beginners.