aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/Renderer.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2006-11-21 01:22:00 +0000
committerCarsten Weisse <[email protected]>2006-11-21 01:22:00 +0000
commitea9a2e742c12d78c01369f192229240570a1f37f (patch)
tree619bbad82357ec6ecf0ae1abcfb7a5a64151aac2 /src/jake2/render/Renderer.java
parent9470cc7ef725e95a9318f1cde8114ea4397fe941 (diff)
only format
Diffstat (limited to 'src/jake2/render/Renderer.java')
-rw-r--r--src/jake2/render/Renderer.java42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/jake2/render/Renderer.java b/src/jake2/render/Renderer.java
index 3e48ac3..50df983 100644
--- a/src/jake2/render/Renderer.java
+++ b/src/jake2/render/Renderer.java
@@ -2,7 +2,7 @@
* Renderer.java
* Copyright (C) 2003
*
- * $Id: Renderer.java,v 1.7 2006-11-21 00:51:22 cawe Exp $
+ * $Id: Renderer.java,v 1.8 2006-11-21 01:22:00 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -42,28 +42,28 @@ public class Renderer {
static Vector drivers = new Vector(3);
static {
+ try {
try {
- try {
- Class.forName("net.java.games.jogl.GL");
- Class.forName("jake2.render.JoglRenderer");
- } catch (ClassNotFoundException e) {
- // ignore the fastjogl drivers if runtime not in classpath
- }
- try {
- Class.forName("org.lwjgl.opengl.GL11");
- Class.forName("jake2.render.LwjglRenderer");
- } catch (ClassNotFoundException e) {
- // ignore the lwjgl driver if runtime not in classpath
- }
- try {
- Class.forName("javax.media.opengl.GL");
- Class.forName("jake2.render.Jsr231Renderer");
- } catch (ClassNotFoundException e) {
- // ignore the jogl drivers if runtime not in classpath
- }
- } catch (Throwable e) {
- e.printStackTrace();
+ Class.forName("net.java.games.jogl.GL");
+ Class.forName("jake2.render.JoglRenderer");
+ } catch (ClassNotFoundException e) {
+ // ignore the fastjogl drivers if runtime not in classpath
+ }
+ try {
+ Class.forName("org.lwjgl.opengl.GL11");
+ Class.forName("jake2.render.LwjglRenderer");
+ } catch (ClassNotFoundException e) {
+ // ignore the lwjgl driver if runtime not in classpath
+ }
+ try {
+ Class.forName("javax.media.opengl.GL");
+ Class.forName("jake2.render.Jsr231Renderer");
+ } catch (ClassNotFoundException e) {
+ // ignore the jogl drivers if runtime not in classpath
}
+ } catch (Throwable e) {
+ e.printStackTrace();
+ }
};
public static void register(Ref impl) {