- Only use HiDPI in forge-gui-mobile-dev when running in full screen mode.

This commit is contained in:
Agetian
2016-12-28 05:25:22 +00:00
parent 4b13094945
commit 392066d915

View File

@@ -59,7 +59,7 @@ public class Main {
config.height = desktopMode ? fullscreenHeight : screenHeight;
config.fullscreen = desktopMode ? true : false;
config.title = "Forge";
//config.useHDPI = true; // enable HiDPI on Mac OS X (not tested)
config.useHDPI = desktopMode ? true : false; // enable HiDPI on Mac OS
new LwjglApplication(Forge.getApp(new LwjglClipboard(), new DesktopAdapter(switchOrientationFile),
desktopMode ? desktopModeAssetsDir : assetsDir), config);