summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/classes/jogamp')
-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() {