aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/render/lwjgl/Model.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2004-12-16 21:55:58 +0000
committerCarsten Weisse <[email protected]>2004-12-16 21:55:58 +0000
commitcac5258eab7d100c317ff68764bba963c52d5d77 (patch)
tree769ba135bc478da6eb94ccfb336465f41bac53eb /src/jake2/render/lwjgl/Model.java
parent98bb4c0e7d65d7d5e8bb4264c6334fbf8bf4bf5a (diff)
vertexarray reset at the end of level loading not in the main loop
Diffstat (limited to 'src/jake2/render/lwjgl/Model.java')
-rw-r--r--src/jake2/render/lwjgl/Model.java3
1 files changed, 2 insertions, 1 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();
}