summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_aatritemp.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h
index 4b921650976..df680932922 100644
--- a/src/mesa/swrast/s_aatritemp.h
+++ b/src/mesa/swrast/s_aatritemp.h
@@ -1,4 +1,4 @@
-/* $Id: s_aatritemp.h,v 1.11 2001/05/07 16:01:59 brianp Exp $ */
+/* $Id: s_aatritemp.h,v 1.12 2001/05/10 17:55:54 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -322,6 +322,9 @@
}
n = (GLuint) ix - (GLuint) startX;
+ if (n == 0)
+ continue;
+
#ifdef DO_MULTITEX
# ifdef DO_SPEC
_mesa_write_multitexture_span(ctx, n, startX, iy, z, fog,
@@ -440,6 +443,9 @@
}
n = (GLuint) startX - (GLuint) ix;
+ if (n == 0)
+ continue;
+
left = ix + 1;
#ifdef DO_MULTITEX
{