diff options
author | Holger Zickner <[email protected]> | 2004-07-15 14:37:35 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-15 14:37:35 +0000 |
commit | 3dd339c9572b792b85bd49182c826aaec36ee161 (patch) | |
tree | 89bf9c92372cf384bce4c29dc5ec09c7ab7069f2 /src/jake2/render/fastjogl/Base.java | |
parent | e45462dfe3f3db94bf9668d294794c27909a522f (diff) |
show fullscreen modes in video menu
move common renderer code to JoglBase
Diffstat (limited to 'src/jake2/render/fastjogl/Base.java')
-rw-r--r-- | src/jake2/render/fastjogl/Base.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/jake2/render/fastjogl/Base.java b/src/jake2/render/fastjogl/Base.java index c5cc690..563b16a 100644 --- a/src/jake2/render/fastjogl/Base.java +++ b/src/jake2/render/fastjogl/Base.java @@ -2,7 +2,7 @@ * Base.java * Copyright (C) 2003 * - * $Id: Base.java,v 1.1 2004-07-09 06:50:49 hzi Exp $ + * $Id: Base.java,v 1.2 2004-07-15 14:37:33 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package jake2.render.fastjogl; +import jake2.render.JoglBase; import net.java.games.jogl.GL; /** @@ -32,7 +33,7 @@ import net.java.games.jogl.GL; * * @author cwei */ -public class Base { +public abstract class Base extends JoglBase { static final int GL_COLOR_INDEX8_EXT = GL.GL_COLOR_INDEX; static final String REF_VERSION = "GL 0.01"; @@ -75,12 +76,6 @@ public class Base { // =================================================================== - // enum rserr_t - static final int rserr_ok = 0; - static final int rserr_invalid_fullscreen = 1; - static final int rserr_invalid_mode = 2; - static final int rserr_unknown = 3; - // // #include "gl_model.h" // |