Commit 32ce3eb2 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#933 Roll-back to exclusive fullscreen window because of bad performance in some games.

parent db7e2691
......@@ -106,10 +106,7 @@ public class DesktopLauncher extends Application {
config.height = fullscreen ? LwjglApplicationConfiguration.getDesktopDisplayMode().height : windowsResolution.getHeight();
config.samples = MULTI_SAMPLING_2X;
config.title = TablexiaBuildConfig.APP_NAME;
if(fullscreen) {
System.setProperty("org.lwjgl.opengl.Window.undecorated", "true");
}
config.fullscreen = fullscreen;
if (buildType == null || buildType.equals(TablexiaSettings.BuildType.DEVEL.getKey())) {
config.addIcon(DESKTOP_ICON_DEVEL_16, Files.FileType.Internal);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment