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:
kappaOne 2013-11-10 02:51:42 +00:00
parent 507bdb6824
commit ed95cd0f27
1 changed files with 1 additions and 1 deletions

View File

@ -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;