mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-04 12:34:35 +01:00
Enable High DPI mode by default (where available) when using fullscreen
mode on OS X as no special changes/scaling is required by applications.
This commit is contained in:
parent
d20d5546a3
commit
38a60ec533
|
|
@ -141,7 +141,7 @@ final class MacOSXDisplay implements DisplayImplementation {
|
|||
|
||||
// OS X high DPI mode is only available on OS X 10.7+
|
||||
enableHighDPI = LWJGLUtil.isMacOSXEqualsOrBetterThan(10, 7) && parent == null &&
|
||||
Display.getPrivilegedBoolean("org.lwjgl.opengl.Display.enableHighDPI");
|
||||
(Display.getPrivilegedBoolean("org.lwjgl.opengl.Display.enableHighDPI") || fullscreen);
|
||||
|
||||
if (parented) this.canvas = parent;
|
||||
else this.canvas = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue