mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
last segment of AA stippled lines wasn't drawn
This commit is contained in:
parent
326f9ddd8a
commit
426628c374
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
* Mesa 3-D graphics library
|
||||||
|
|
@ -308,6 +308,11 @@ NAME(line)(GLcontext *ctx, const SWvertex *v0, const SWvertex *v1)
|
||||||
}
|
}
|
||||||
swrast->StippleCounter++;
|
swrast->StippleCounter++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (inSegment) {
|
||||||
|
/* draw the final segment of the line */
|
||||||
|
segment(ctx, &line, NAME(plot), pb, tStart, 1.0F);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* non-stippled */
|
/* non-stippled */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue