GLee (GL Easy Extension library) is a free cross-platform extension loading library for OpenGL. It provides seamless support for OpenGL functions up to version 3.0 and 398 extensions.
Here is a code sample:
#include <gl\GLee.h> // (no need to link to gl.h) ... if (GLEE_ARB_multitexture) //is multitexture support available? { glMultiTexCoord2fARB(...); //safe to use multitexture } else { //fallback }
Pingback: Catalyst 9.1 Does Not Like glGetString(GL_VERSION)! | The Geeks Of 3D