summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
committerSven Gothel <[email protected]>2012-03-18 16:33:07 +0100
commitd570fa74d4fd22459aa1579749a7705949a2a748 (patch)
tree6e535ce86c531c36af3806789f778489e7c7a3dd /src/jogl/classes/javax/media/opengl
parent4c5d6c1b5570fe1ba2cfbbed46259f0a21534ff5 (diff)
Reduce Thread.dumpStack() in debug mode where no negative behavior appears or a stack trace may be helpful.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLProfile.java1
-rw-r--r--src/jogl/classes/javax/media/opengl/awt/GLJPanel.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index 4d4b0d82c..0bd805831 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -1505,7 +1505,6 @@ public class GLProfile {
if(DEBUG) {
System.err.println("Info: GLProfile.initProfilesForDevice: "+device+", isSet "+isSet);
- Thread.dumpStack();
}
if(isSet) {
// Avoid recursion and check whether impl. is sane!
diff --git a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
index b30525c95..5291e48e4 100644
--- a/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
+++ b/src/jogl/classes/javax/media/opengl/awt/GLJPanel.java
@@ -270,7 +270,7 @@ public class GLJPanel extends JPanel implements AWTGLAutoDrawable, WindowClosing
protected void dispose() {
if(DEBUG) {
System.err.println("Info: dispose() - start - "+Thread.currentThread().getName());
- Thread.dumpStack();
+ // Thread.dumpStack();
}
if (backend != null && backend.getContext() != null) {