From: Brian Paul Date: Mon, 29 Jan 2001 23:38:41 +0000 (+0000) Subject: last segment of AA stippled lines wasn't drawn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=426628c374d043c5ae2bb73079aff577fc31c138;p=mesa.git last segment of AA stippled lines wasn't drawn --- 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 */