mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 04:02:31 +00:00
Merge c750528f7d
into 63a191eb8d
This commit is contained in:
commit
666b5dc529
@ -97,15 +97,6 @@ int _glfwCreateContext(_GLFWwindow* window,
|
|||||||
|
|
||||||
if (wndconfig->glMajor > 2)
|
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)
|
if (wndconfig->glProfile != GLFW_OPENGL_CORE_PROFILE)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
|
_glfwInputError(GLFW_VERSION_UNAVAILABLE,
|
||||||
|
Loading…
Reference in New Issue
Block a user