diff --git a/src/nsgl_context.m b/src/nsgl_context.m index 9c1bfc4c..a9e92f68 100644 --- a/src/nsgl_context.m +++ b/src/nsgl_context.m @@ -152,7 +152,7 @@ int _glfwCreateContext(_GLFWwindow* window, ADD_ATTR(NSOpenGLPFADoubleBuffer); - if (wndconfig->mode == GLFW_FULLSCREEN) + if (wndconfig->monitor) { ADD_ATTR(NSOpenGLPFANoRecovery); ADD_ATTR2(NSOpenGLPFAScreenMask,