Fixed Lion full screen regression.

Restored lines lost during testing surgery.
master
Camilla Berglund ago%!(EXTRA string=11 years)
parent 9f58d8d715
commit 34bf1b13e9
  1. 3
      src/cocoa_window.m

@ -955,6 +955,9 @@ static GLboolean createWindow(_GLFWwindow* window,
#if defined(_GLFW_USE_RETINA)
[window->ns.view setWantsBestResolutionOpenGLSurface:YES];
#endif
if (wndconfig->resizable)
[window->ns.object setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
}
#endif /*MAC_OS_X_VERSION_MAX_ALLOWED*/

Loading…
Cancel
Save