Add support for OpenGL 3 contexts