aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-03-22 10:30:14 +0100
committerSven Gothel <[email protected]>2013-03-22 10:30:14 +0100
commit109def11bebd63f66eb0e751aa7932ce147a2738 (patch)
tree387447f0754615bb30ff7ae010f9075a870c3c1d /src/jogl/classes/com
parent3ad03e41a0cda81119c23f350c00b064a4de70c2 (diff)
Animator: Cleanup DEBUG output
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/Animator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/Animator.java b/src/jogl/classes/com/jogamp/opengl/util/Animator.java
index 673ec895e..c5b3b3f44 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/Animator.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/Animator.java
@@ -145,7 +145,7 @@ public class Animator extends AnimatorBase {
public void run() {
try {
if(DEBUG) {
- System.err.println("Animator start:" + Thread.currentThread() + ": " + toString());
+ System.err.println("Animator start on " + Thread.currentThread().getName() + ": " + toString());
}
fpsCounter.resetFPSCounter();
animThread = Thread.currentThread();
@@ -162,7 +162,7 @@ public class Animator extends AnimatorBase {
}
boolean wasPaused = pauseIssued;
if (DEBUG) {
- System.err.println("Animator pause:" + Thread.currentThread() + ": " + toString());
+ System.err.println("Animator pause on " + animThread.getName() + ": " + toString());
}
if ( exclusiveContext && !drawablesEmpty && !ectCleared ) {
ectCleared = true;
@@ -179,7 +179,7 @@ public class Animator extends AnimatorBase {
// resume from pause -> reset counter
fpsCounter.resetFPSCounter();
if (DEBUG) {
- System.err.println("Animator resume:" + Thread.currentThread() + ": " + toString());
+ System.err.println("Animator resume on " + animThread.getName() + ": " + toString());
}
}
}
@@ -208,7 +208,7 @@ public class Animator extends AnimatorBase {
}
synchronized (Animator.this) {
if(DEBUG) {
- System.err.println("Animator stop " + Thread.currentThread() + ": " + toString());
+ System.err.println("Animator stop on " + animThread.getName() + ": " + toString());
}
stopIssued = false;
pauseIssued = false;