Removed check for forward compatibility on Mac OS X when version 3.2 is requested

This commit is contained in:
Ruben De Visscher 2013-08-04 12:54:18 +02:00
parent 63a191eb8d
commit c750528f7d

View File

@ -97,15 +97,6 @@ int _glfwCreateContext(_GLFWwindow* window,
if (wndconfig->glMajor > 2)
{
if (!wndconfig->glForward)
{
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
"NSOpenGL: The targeted version of OS X only "
"supports OpenGL 3.2 and later versions if they "
"are forward-compatible");
return GL_FALSE;
}
if (wndconfig->glProfile != GLFW_OPENGL_CORE_PROFILE)
{
_glfwInputError(GLFW_VERSION_UNAVAILABLE,