diff options
author | Holger Zickner <[email protected]> | 2004-07-09 08:38:30 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-09 08:38:30 +0000 |
commit | 76230d5ab9be20bfc25de6f3e50504a4287575d0 (patch) | |
tree | 8ec5a6485478c7fde8944e6477e466e3adceab36 /src/jake2/render/Renderer.java | |
parent | 1e132c95409d6a7f3baf499b50f0bc7d22969b07 (diff) |
import of Jake2 version v_0_9_2v_0_9_2
Diffstat (limited to 'src/jake2/render/Renderer.java')
-rw-r--r-- | src/jake2/render/Renderer.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jake2/render/Renderer.java b/src/jake2/render/Renderer.java index 4dfe99b..5ceecf6 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.1.1.1.2.1 2004-07-09 08:08:44 hzi Exp $ + * $Id: Renderer.java,v 1.1.1.1.2.2 2004-07-09 08:38:11 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -46,8 +46,8 @@ public class Renderer { static { try { Class.forName("jake2.render.JoglRenderer"); + Class.forName("jake2.render.FastJoglRenderer"); } catch (ClassNotFoundException e) { - //logger.log(Level.SEVERE, "can't found " + DEFAULT_CLASS); e.printStackTrace(); } }; @@ -71,13 +71,12 @@ public class Renderer { // find a driver Ref driver = null; int count = drivers.size(); - for (int i = 0; i < count && driver == null; i++) { + for (int i = 0; i < count; i++) { driver = (Ref) drivers.get(i); if (driver.getName().equals(driverName)) { return driver.GetRefAPI(rimp); } } - //logger.log(Level.INFO, "Refresh driver \"" + driverName + "\"not found"); // null if driver not found return null; } |