Fixes comment
This commit is contained in:
parent
a40ff85e1a
commit
2ccfecb5ae
@ -2314,6 +2314,7 @@ bool _glfwPlatformToggleFullscreen(_GLFWwindow* w, unsigned int flags) {
|
|||||||
NSWindowStyleMask sm = [window styleMask];
|
NSWindowStyleMask sm = [window styleMask];
|
||||||
if (traditional) {
|
if (traditional) {
|
||||||
if (@available(macOS 10.15, *)) {
|
if (@available(macOS 10.15, *)) {
|
||||||
|
// As of Big Turd NSWindowStyleMaskFullScreen is no longer useable
|
||||||
// Also no longer compatible after a minor release of macOS 10.15
|
// Also no longer compatible after a minor release of macOS 10.15
|
||||||
if (!w->ns.in_traditional_fullscreen) {
|
if (!w->ns.in_traditional_fullscreen) {
|
||||||
w->ns.pre_full_screen_style_mask = sm;
|
w->ns.pre_full_screen_style_mask = sm;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user