On macOS, use NSOpenGLProfileVersion4_1Core if >= 10.10
On macOS, if the deployment target is at least 10.10, choose the 'OpenGL 4.1 Core Implementation', otherwise fall back to the 'OpenGL 3.2 Core Implementation' (available since 10.7).
On macOS, if the deployment target is at least 10.10, choose the 'OpenGL 4.1 Core Implementation', otherwise fall back to the 'OpenGL 3.2 Core Implementation' (available since 10.7).