From f6f55aaa9adfb1cd897749876e302e83eff37c38 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 29 May 2019 19:52:15 +0530 Subject: [PATCH] NSGL: Remove enforcement of forward-compatible flag Upstream commit: https://github.com/glfw/glfw/commit/0b01d850ed00abf65ede29da46ad28ca5dbf8081 --- glfw/nsgl_context.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/glfw/nsgl_context.m b/glfw/nsgl_context.m index 777b8210c..54cdc56df 100644 --- a/glfw/nsgl_context.m +++ b/glfw/nsgl_context.m @@ -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