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