summaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-19 03:28:50 +0100
committerSven Gothel <[email protected]>2012-02-19 03:28:50 +0100
commitcde4111c7be2613025ad7648e20087bc8634b4cb (patch)
tree0e538c0014579885890202282e9db9e4333949f1 /src/newt/classes
parentd962f232b8aabb0e1de95ee1482ee022deba7615 (diff)
Hide dump of screen origin/size behind DEBUG flag.
Diffstat (limited to 'src/newt/classes')
-rw-r--r--src/newt/classes/jogamp/newt/ScreenImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/ScreenImpl.java b/src/newt/classes/jogamp/newt/ScreenImpl.java
index 575de6112..a6bd960b7 100644
--- a/src/newt/classes/jogamp/newt/ScreenImpl.java
+++ b/src/newt/classes/jogamp/newt/ScreenImpl.java
@@ -282,7 +282,9 @@ public abstract class ScreenImpl extends Screen implements ScreenModeListener {
*/
protected void updateVirtualScreenOriginAndSize() {
getVirtualScreenOriginAndSize(vOrigin, vSize);
- System.err.println("Detected screen origin "+vOrigin+", size "+vSize);
+ if(DEBUG) {
+ System.err.println("Detected screen origin "+vOrigin+", size "+vSize);
+ }
}
public final Display getDisplay() {