Tweak OS X Fullscreen API mode behaviour, where available its enabled by
default now, can be disabled using the org.lwjgl.opengl.Display.disableOSXFullscreenModeAPI switch
This commit is contained in:
parent
507bdb6824
commit
ed95cd0f27
|
@ -133,7 +133,7 @@ final class MacOSXDisplay implements DisplayImplementation {
|
|||
|
||||
// OS X fullscreen mode API is only available on OS X 10.7+
|
||||
boolean enableFullscreenModeAPI = LWJGLUtil.isMacOSXEqualsOrBetterThan(10, 7) && parent == null &&
|
||||
Display.getPrivilegedBoolean("org.lwjgl.opengl.Display.enableOSXFullscreenModeAPI");
|
||||
!Display.getPrivilegedBoolean("org.lwjgl.opengl.Display.disableOSXFullscreenModeAPI");
|
||||
|
||||
if (parented) this.canvas = parent;
|
||||
else this.canvas = null;
|
||||
|
|
Loading…
Reference in New Issue