OpenGL 4 headers

4.1k Views Asked by At

Where i can download OpenGL 4.0 headers for C/C++? I found only GL/gl.h in /compiler/include/, but it outdated (OpenGL 1.1).

Don't offer libraries like GLEW. I want write my application with pure OpenGL.

2

There are 2 best solutions below

0
On BEST ANSWER

OpenGL core profile headers are located here:

http://www.opengl.org/registry/api/GL/glcorearb.h

This header contains only core profile and ARB extension interfaces, as described in appendix G.2 of the OpenGL 4.3 Specification. It does not include interfaces found only in the compatibility profile.

I think this is what you ask for when you say OpenGL 4.

Here are some OpenGL 4 tutorials:

0
On

Take a look at http://rastertek.com/tutgl40.html He doesn't use any wrapper in his OGL 4.0 tutorials and managing APIENTRY's by himself.