Use GLAD to manage OpenGL extensions
To support systems that do not have headers for OpenGL 3 (or better), use the GLAD extension loader to get the proper enums and load the proper function pointers.
Note that the GLAD files were generated with the GLAD web service (https://glad.dav1d.de/). Changing the supported OpenGL version or extension would require creating new extension loader files.