1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Fixed Lion full screen regression.

Restored lines lost during testing surgery.
This commit is contained in:
Camilla Berglund 2014-10-29 23:13:24 +01:00
parent 9f58d8d715
commit 34bf1b13e9

View File

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