summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-01-29 23:38:41 +0000
committerBrian Paul <[email protected]>2001-01-29 23:38:41 +0000
commit426628c374d043c5ae2bb73079aff577fc31c138 (patch)
treecc0466215d126c74fbdf22a8e9d19f78a16c81a8 /src/mesa
parent326f9ddd8ae215173de18827ffe60939961a1e3b (diff)
last segment of AA stippled lines wasn't drawn
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_aalinetemp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_aalinetemp.h b/src/mesa/swrast/s_aalinetemp.h
index f36c1f433fe..a98fbfd246c 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.4 2001/01/05 02:26:48 keithw Exp $ */
+/* $Id: s_aalinetemp.h,v 1.5 2001/01/29 23:38:41 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -308,6 +308,11 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1)
}
swrast->StippleCounter++;
}
+
+ if (inSegment) {
+ /* draw the final segment of the line */
+ segment(ctx, &line, NAME(plot), pb, tStart, 1.0F);
+ }
}
else {
/* non-stippled */