Add's common functionality for OpenGL between WGL and GLX using OpenGL's naming convention.