Fix use of OpenGL constants nor yet supported with OpenGL 4.1 (Mac).