aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/render/Renderer.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/jake2/render/Renderer.java b/src/jake2/render/Renderer.java
index 83fbc5e..28936d0 100644
--- a/src/jake2/render/Renderer.java
+++ b/src/jake2/render/Renderer.java
@@ -46,23 +46,26 @@ public class Renderer {
try {
Class.forName("javax.media.opengl.GL2");
Class.forName("jake2.render.JoglGL2Renderer");
- } catch (ClassNotFoundException e) {
+ } catch (Throwable t) {
// ignore the new jogl driver if runtime not in classpath
- e.printStackTrace();
+ System.err.println("Catched exception: "+t.getMessage());
+ // t.printStackTrace();
}
try {
Class.forName("javax.media.opengl.GL2ES1");
Class.forName("jake2.render.JoglES1Renderer");
- } catch (ClassNotFoundException e) {
+ } catch (Throwable t) {
// ignore the new jogl driver if runtime not in classpath
- e.printStackTrace();
+ System.err.println("Catched exception: "+t.getMessage());
+ // t.printStackTrace();
}
try {
Class.forName("javax.media.opengl.GL2ES2");
Class.forName("jake2.render.JoglES2Renderer");
- } catch (ClassNotFoundException e) {
+ } catch (Throwable t) {
// ignore the new jogl driver if runtime not in classpath
- e.printStackTrace();
+ System.err.println("Catched exception: "+t.getMessage());
+ // t.printStackTrace();
}
} catch (Throwable e) {
e.printStackTrace();