aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/JoglRenderer.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-07-10 17:57:34 +0000
committerCarsten Weisse <[email protected]>2005-07-10 17:57:34 +0000
commit6f1a80875109e19d20b4b61c4334bf27658324af (patch)
treeb2a7cce86394300f432f5d1aa9a79c994c63fc52 /src/jake2/render/JoglRenderer.java
parent2dd0ab37b5bf44855ae2ccae918c672dc4de8c43 (diff)
all renderers are using the same code path
(currently experimental)
Diffstat (limited to 'src/jake2/render/JoglRenderer.java')
-rw-r--r--src/jake2/render/JoglRenderer.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jake2/render/JoglRenderer.java b/src/jake2/render/JoglRenderer.java
index f381879..9b48251 100644
--- a/src/jake2/render/JoglRenderer.java
+++ b/src/jake2/render/JoglRenderer.java
@@ -2,7 +2,7 @@
* JoglRenderer.java
* Copyright (C) 2003
*
- * $Id: JoglRenderer.java,v 1.6 2004-12-14 00:11:03 hzi Exp $
+ * $Id: JoglRenderer.java,v 1.6.8.1 2005-07-10 17:57:34 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -29,7 +29,6 @@ import jake2.Defines;
import jake2.client.refdef_t;
import jake2.client.refexport_t;
import jake2.qcommon.xcommand_t;
-import jake2.render.jogl.Misc;
import jake2.sys.JOGLKBD;
import jake2.sys.KBD;
@@ -40,7 +39,7 @@ import java.awt.Dimension;
*
* @author cwei
*/
-final class JoglRenderer extends Misc implements refexport_t, Ref {
+final class JoglRenderer extends JoglGL implements refexport_t, Ref {
private JOGLKBD kbd=new JOGLKBD();
@@ -64,7 +63,7 @@ final class JoglRenderer extends Misc implements refexport_t, Ref {
*/
public boolean Init(int vid_xpos, int vid_ypos) {
// pre init
- if (!R_Init(vid_xpos, vid_ypos)) return false;
+ if (!R_Init()) return false;
// calls the R_Init2() internally
updateScreen();
// the result from R_Init2()