Fixed sharing between windowed and fullscreen windows.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent cdfbe68a96
commit fa35d701a7
  1. 7
      src/nsgl_context.m

@ -138,13 +138,6 @@ int _glfwCreateContext(_GLFWwindow* window,
ADD_ATTR(NSOpenGLPFADoubleBuffer);
if (wndconfig->monitor)
{
ADD_ATTR(NSOpenGLPFANoRecovery);
ADD_ATTR2(NSOpenGLPFAScreenMask,
CGDisplayIDToOpenGLDisplayMask(wndconfig->monitor->ns.displayID));
}
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
if (wndconfig->glMajor > 2)
ADD_ATTR2(NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core);

Loading…
Cancel
Save