diff options
author | Carsten Weisse <[email protected]> | 2004-12-16 21:55:58 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-12-16 21:55:58 +0000 |
commit | cac5258eab7d100c317ff68764bba963c52d5d77 (patch) | |
tree | 769ba135bc478da6eb94ccfb336465f41bac53eb /src/jake2/render/lwjgl/Surf.java | |
parent | 98bb4c0e7d65d7d5e8bb4264c6334fbf8bf4bf5a (diff) |
vertexarray reset at the end of level loading not in the main loop
Diffstat (limited to 'src/jake2/render/lwjgl/Surf.java')
-rw-r--r-- | src/jake2/render/lwjgl/Surf.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/jake2/render/lwjgl/Surf.java b/src/jake2/render/lwjgl/Surf.java index 5dd17f4..f76d011 100644 --- a/src/jake2/render/lwjgl/Surf.java +++ b/src/jake2/render/lwjgl/Surf.java @@ -2,7 +2,7 @@ * Surf.java * Copyright (C) 2003 * - * $Id: Surf.java,v 1.3 2004-12-16 00:47:17 dsanders1234 Exp $ + * $Id: Surf.java,v 1.4 2004-12-16 21:55:58 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -763,9 +763,6 @@ public abstract class Surf extends Draw { e.angles[0] = -e.angles[0]; // stupid quake bug e.angles[2] = -e.angles[2]; // stupid quake bug - globalPolygonInterleavedBuf.rewind(); - globalPolygonTexCoord1Buf.rewind(); - GL_EnableMultitexture( true ); GL_SelectTexture(GL_TEXTURE0); GL_TexEnv( GL11.GL_REPLACE ); @@ -1457,6 +1454,7 @@ public abstract class Surf extends Draw { public static void resetPolygonArrays() { globalPolygonInterleavedBuf.rewind(); + globalPolygonTexCoord1Buf.rewind(); } //ImageFrame frame; |