summaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-12-30 15:10:15 +0100
committerSven Gothel <[email protected]>2012-12-30 15:10:15 +0100
commitfee7dbecbaaa9a65ff8cb0f54531dada413233d1 (patch)
tree80e99fd1c5ca7a166aa79cabf0e60265af7cdff8 /src/jogl
parentece5acb85b3dac22352aca75dd09aadcb96b43f3 (diff)
SharedResourceRunner: Always dump Exception if catched @ creation, not just in DEBUG case.
This seems to be crucial, since otherwise user is left in the dark w/o enabling debug flags.
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/classes/jogamp/opengl/SharedResourceRunner.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java
index 0528d3060..a33e03a1a 100644
--- a/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java
+++ b/src/jogl/classes/jogamp/opengl/SharedResourceRunner.java
@@ -260,9 +260,7 @@ public class SharedResourceRunner implements Runnable {
try {
sr = impl.createSharedResource(initConnection);
} catch (Exception e) {
- if(DEBUG) {
- e.printStackTrace();
- }
+ e.printStackTrace();
}
if (null != sr) {
impl.mapPut(initConnection, sr);