NSGL: Remove enforcement of forward-compatible flag

Upstream commit:
0b01d850ed
This commit is contained in:
Kovid Goyal 2019-05-29 19:52:15 +05:30
parent 6f1aecab99
commit f6f55aaa9a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -132,12 +132,6 @@ GLFWbool _glfwCreateContextNSGL(_GLFWwindow* window,
return GLFW_FALSE;
}
if (!ctxconfig->forward || ctxconfig->profile != GLFW_OPENGL_CORE_PROFILE)
{
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
"NSGL: The targeted version of macOS only supports forward-compatible core profile contexts for OpenGL 3.2 and above");
return GLFW_FALSE;
}
}
// Context robustness modes (GL_KHR_robustness) are not yet supported by