From fee7dbecbaaa9a65ff8cb0f54531dada413233d1 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 30 Dec 2012 15:10:15 +0100 Subject: 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. --- src/jogl/classes/jogamp/opengl/SharedResourceRunner.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/jogl/classes/jogamp') 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); -- cgit v1.2.3