aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-11-21 21:20:59 +0000
committerCarsten Weisse <[email protected]>2005-11-21 21:20:59 +0000
commit22779a168430f980bf24cf541029a3bb36bad36a (patch)
tree7f883acdef6d072d6e9b1683f1f0cfb16e92d934 /src/jake2
parent03843343c5f3e9e1b47103b01578345ad0278e9c (diff)
reset the texture buffers
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/render/fastjogl/Draw.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/render/fastjogl/Draw.java b/src/jake2/render/fastjogl/Draw.java
index ab4d3ef..9bba9af 100644
--- a/src/jake2/render/fastjogl/Draw.java
+++ b/src/jake2/render/fastjogl/Draw.java
@@ -2,7 +2,7 @@
* Draw.java
* Copyright (C) 2003
*
- * $Id: Draw.java,v 1.5 2005-11-21 21:16:36 cawe Exp $
+ * $Id: Draw.java,v 1.6 2005-11-21 21:20:59 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -342,6 +342,7 @@ public abstract class Draw extends Image {
if ( !qglColorTableEXT )
{
int destIndex = 0;
+ image32.clear();
for (i=0 ; i<trows ; i++)
{
@@ -362,7 +363,8 @@ public abstract class Draw extends Image {
}
else
{
- int destIndex = 0;;
+ int destIndex = 0;
+ image8.clear();
for (i=0 ; i<trows ; i++)
{