summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aalinetemp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-03-28 16:24:14 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-03-28 16:24:14 +0000
commit7c8b5399f079e35a5b5d91fc7c59a2d969b51d85 (patch)
treee8fd39e4a7e6c1275fdfae3b314aed40fe07e5a9 /src/mesa/swrast/s_aalinetemp.h
parentc02861778493ca65508e4dbbc2b907751811c845 (diff)
reset span.end to zero after rendering the span
Diffstat (limited to 'src/mesa/swrast/s_aalinetemp.h')
-rw-r--r--src/mesa/swrast/s_aalinetemp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h
index 117434c844..27d525186d 100644
--- a/src/mesa/swrast/s_aalinetemp.h
+++ b/src/mesa/swrast/s_aalinetemp.h
@@ -1,4 +1,4 @@
-/* $Id: s_aalinetemp.h,v 1.17 2002/02/02 21:40:33 brianp Exp $ */
+/* $Id: s_aalinetemp.h,v 1.18 2002/03/28 16:24:14 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -107,6 +107,7 @@ NAME(plot)(GLcontext *ctx, struct LineInfo *line, int ix, int iy)
#else
_mesa_write_index_span(ctx, &line->span, GL_LINE);
#endif
+ line->span.end = 0; /* reset counter */
}
}