diff options
author | Sven Gothel <[email protected]> | 2012-12-30 15:10:15 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-12-30 15:10:15 +0100 |
commit | fee7dbecbaaa9a65ff8cb0f54531dada413233d1 (patch) | |
tree | 80e99fd1c5ca7a166aa79cabf0e60265af7cdff8 | |
parent | ece5acb85b3dac22352aca75dd09aadcb96b43f3 (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.
-rw-r--r-- | src/jogl/classes/jogamp/opengl/SharedResourceRunner.java | 4 |
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); |