Show the OS in Debug-Mode

This commit is contained in:
Licht 2014-10-29 16:20:12 +01:00
parent 4a780ef39b
commit 8d009c94a6
1 changed files with 4 additions and 1 deletions

View File

@ -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"));
}
}
}