aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/fast/Misc.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/fast/Misc.java')
-rw-r--r--src/jake2/render/fast/Misc.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/jake2/render/fast/Misc.java b/src/jake2/render/fast/Misc.java
index e1b47e6..d611f34 100644
--- a/src/jake2/render/fast/Misc.java
+++ b/src/jake2/render/fast/Misc.java
@@ -2,7 +2,7 @@
* Misc.java
* Copyright (C) 2003
*
- * $Id: Misc.java,v 1.3 2006-11-22 15:05:39 cawe Exp $
+ * $Id: Misc.java,v 1.4 2007-01-11 23:36:21 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -262,6 +262,12 @@ public final class Misc extends Mesh {
gl.glEnableClientState(GL_VERTEX_ARRAY);
gl.glClientActiveTextureARB(TEXTURE0);
gl.glEnableClientState(GL_TEXTURE_COORD_ARRAY);
+
+ /*
+ * perspective correction
+ */
+ //gl.glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
+
}
void GL_UpdateSwapInterval()
@@ -271,9 +277,7 @@ public final class Misc extends Mesh {
gl_swapinterval.modified = false;
if ( !gl_state.stereo_enabled )
{
- if (qwglSwapIntervalEXT) {
- // ((WGL)gl).wgl.glSwapIntervalEXT((int)gl_swapinterval.value);
- }
+ gl.setSwapInterval((int) gl_swapinterval.value);
}
}
}