macOS: Remove check for pre-10.8 SDK

This commit is contained in:
Kovid Goyal 2019-03-28 12:42:14 +05:30
parent c4e89d9d0c
commit 6f3a9d6d29
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -174,9 +174,7 @@ GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window,
// Info.plist for unbundled applications
// HACK: This assumes that NSOpenGLPixelFormat will remain
// a straightforward wrapper of its CGL counterpart
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
addAttrib(kCGLPFASupportsAutomaticGraphicsSwitching);
#endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/
}
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 101000