mirror of
https://github.com/glfw/glfw.git
synced 2025-06-14 19:52:14 +00:00
Removed check for forward compatibility on Mac OS X when version 3.2 is requested
This commit is contained in:
parent
63a191eb8d
commit
c750528f7d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user