work with OpenGL Core Profile in OS X