LWJGL 3.1.6 OpenGL 4.1 crash on macOS High Sierra
问题 I have a slightly modified version of the sample code found on the main LWJGL page. It works but it uses legacy OpenGL version 2.1 . If I attempt to use the forward-compatible context described in GLFW doc, the version used is 4.1 (no matter what major/minor I hint), the window is created, but it crashes on the first call to glPushMatrix() . Forward compatibility enabled like so: glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); glfwWindowHint(GLFW