diff options
Diffstat (limited to 'src/ast_accel.c')
-rw-r--r-- | src/ast_accel.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ast_accel.c b/src/ast_accel.c index 0a31a78..0247227 100644 --- a/src/ast_accel.c +++ b/src/ast_accel.c @@ -668,6 +668,11 @@ static void ASTSubsequentSolidTwoPointLine(ScrnInfoPtr pScrn, y1 -= miny; y2 -= miny; } + + LineInfo.X1 = x1; + LineInfo.Y1 = y1; + LineInfo.X2 = x2; + LineInfo.Y2 = y2; bGetLineTerm(&LineInfo, &dsLineParam); /* Get Line Parameter */ @@ -818,7 +823,12 @@ ASTSubsequentDashedTwoPointLine(ScrnInfoPtr pScrn, y1 -= miny; y2 -= miny; } - + + LineInfo.X1 = x1; + LineInfo.Y1 = y1; + LineInfo.X2 = x2; + LineInfo.Y2 = y2; + bGetLineTerm(&LineInfo, &dsLineParam); /* Get Line Parameter */ if (dsLineParam.dwLineAttributes & LINEPARAM_X_DEC) |