diff options
author | Sven Gothel <[email protected]> | 2012-02-19 03:28:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-19 03:28:50 +0100 |
commit | cde4111c7be2613025ad7648e20087bc8634b4cb (patch) | |
tree | 0e538c0014579885890202282e9db9e4333949f1 | |
parent | d962f232b8aabb0e1de95ee1482ee022deba7615 (diff) |
Hide dump of screen origin/size behind DEBUG flag.
-rw-r--r-- | src/newt/classes/jogamp/newt/ScreenImpl.java | 4 |
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() { |