Now it’s very difficult for me to find information about the headers and extensions of OpenGL and how to access the latest features. OpenGL.org does not affect any of them, nor Mesa (updated 2006!), Neither anyone, but I can not think that I am the only one who wants to understand this.
I am developing Archlinux with Nvidia drivers - supporting 4.2 - which does not seem to be related to OpenGL headers (and not to the repository). Here began the problems and confusion. I read that I should use Mesa3D headers supporting OpenGL 3.0. This is what I installed now.
Now I read somewhere that the main title of OpenGL 4.2 - gl.h - provides only the capabilities of OpenGL 1.2. The rest (up to 4.2) are available via download with the extension - this means that these 3.0 headers will be good, even if I develop against 4.2 - I will just download all the functionality of 4.2 as extensions.
I read somewhere else that the gl.h header does provide different functions between 4.2 and 3.0 - I just can’t check anything, since I find so many outdated articles and don’t have solid information.
Can someone explain how it all fits together?
source
share