summaryrefslogtreecommitdiff
path: root/src/ast_accel.c
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-03-15 21:05:45 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-03-15 21:05:45 +0000
commitefba7f83ef225df8a0eaee660cb9bba19fd775c0 (patch)
tree70dfe476f8fab3474685870c6026d62205c837ec /src/ast_accel.c
parent245466d4ef8ea4012242a3fa21a217e767f4eac4 (diff)
Update from ASPEED Technology Inc. to fix incorrect line drawing issue and
change driver name from "AST1000/2000" to "AST" to fix Xorg log formatting issues with long driver names. Bugzilla #4937 <https://bugs.freedesktop.org/show_bug.cgi?id=4937> Attachment #4948 <https://bugs.freedesktop.org/attachment.cgi?id=4948>
Diffstat (limited to 'src/ast_accel.c')
-rw-r--r--src/ast_accel.c12
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)