diff options
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/render/lwjgl/Model.java | 3 | ||||
-rw-r--r-- | src/jake2/render/lwjgl/Surf.java | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/jake2/render/lwjgl/Model.java b/src/jake2/render/lwjgl/Model.java index 35ccc70..bdfbd81 100644 --- a/src/jake2/render/lwjgl/Model.java +++ b/src/jake2/render/lwjgl/Model.java @@ -2,7 +2,7 @@ * Model.java * Copyright (C) 2003 * - * $Id: Model.java,v 1.2 2004-12-14 12:56:59 cawe Exp $ + * $Id: Model.java,v 1.3 2004-12-16 21:55:58 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -1261,6 +1261,7 @@ public abstract class Model extends Surf { } } GL_FreeUnusedImages(); + resetPolygonArrays(); //modelMemoryUsage(); } 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; |