From 8d009c94a6f2035f85f698edecaf42f3bbbd00b6 Mon Sep 17 00:00:00 2001 From: Licht Date: Wed, 29 Oct 2014 16:20:12 +0100 Subject: [PATCH] Show the OS in Debug-Mode --- .../teamteamteam/spacescooter/utility/GraphicsSettings.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/de/teamteamteam/spacescooter/utility/GraphicsSettings.java b/src/de/teamteamteam/spacescooter/utility/GraphicsSettings.java index 40a4862..86805b7 100644 --- a/src/de/teamteamteam/spacescooter/utility/GraphicsSettings.java +++ b/src/de/teamteamteam/spacescooter/utility/GraphicsSettings.java @@ -34,7 +34,10 @@ public class GraphicsSettings { this.height = dm.getHeight(); this.width = dm.getWidth(); - if(GameConfig.DEBUG) System.out.println("Display Mode " + i + ": " + this.width + "x" + this.height+ "@" + this.refreshRate + "Hz, " + this.bitDepth + " bit"); + if(GameConfig.DEBUG) { + System.out.println("Display Mode " + i + ": " + this.width + "x" + this.height+ "@" + this.refreshRate + "Hz, " + this.bitDepth + " bit"); + System.out.println("OS: " + System.getProperty("os.name")); + } } }