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:
parent
9f58d8d715
commit
34bf1b13e9
|
@ -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*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user