Compatibility with new OpenGL and GLUtil.