How can I get the glext.h header file? Am I supposed to make my own glext.h file and paste all the code from the Khronos OpenGL Registry into it? Also, I'm using Windows and have the SDK, is glext supposed to be in my GL folder? Because I checked it and it's not.
Currently I've tried to find a download on the internet with no luck.
Don't use glext.h. Use GLEW instead.
A long time ago (two decades maybe) for some reason operating systems stopped including up-to-date OpenGL headers. I suppose they did it this way so that graphics drivers could have newer OpenGL versions than the operating system. On Windows, it's the app's responsibility to include all the
#definenumbers itself, and usewglGetProcAddressto get the addresses of the functions.Anyway, an up-to-date copy of GLEW knows all the up-to-date bits of OpenGL. (You may notice it was last updated in 2017 - so was OpenGL as the team moved on to Vulkan after that).