diff options
author | Carsten Weisse <[email protected]> | 2006-11-20 21:27:57 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2006-11-20 21:27:57 +0000 |
commit | f31cdc3065ddc7557599fd5bef8e409930737dc6 (patch) | |
tree | 5cf31e0069016202772a0864055bb9266850d658 /src/jake2/render/JoglRenderer.java | |
parent | cae1b7af922545682e58768f9a41080ab71616a6 (diff) |
change to RenderAPI calls
Diffstat (limited to 'src/jake2/render/JoglRenderer.java')
-rw-r--r-- | src/jake2/render/JoglRenderer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/render/JoglRenderer.java b/src/jake2/render/JoglRenderer.java index 3604868..d014a09 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.8.4 2005-11-15 00:12:40 cawe Exp $ + * $Id: JoglRenderer.java,v 1.6.8.5 2006-11-20 21:27:57 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -47,7 +47,7 @@ final class JoglRenderer extends JoglDriver implements refexport_t, Ref { private KBD kbd = new JOGLKBD(); // TODO extract a interface from render code - private jake2.render.fast.Misc impl = new jake2.render.fast.Misc(); + private RenderAPI impl = new jake2.render.fast.Misc(); static { Renderer.register(new JoglRenderer()); @@ -70,7 +70,7 @@ final class JoglRenderer extends JoglDriver implements refexport_t, Ref { */ public boolean Init(int vid_xpos, int vid_ypos) { // init the OpenGL drivers - impl.setGlImpl(this); + impl.setGLDriver(this); // pre init if (!impl.R_Init(vid_xpos, vid_ypos)) return false; // calls the R_Init2() internally |