summaryrefslogtreecommitdiff
path: root/hw/kdrive/src/kasync.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/src/kasync.c')
-rw-r--r--hw/kdrive/src/kasync.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/hw/kdrive/src/kasync.c b/hw/kdrive/src/kasync.c
index 2712ee50f..14a8afafb 100644
--- a/hw/kdrive/src/kasync.c
+++ b/hw/kdrive/src/kasync.c
@@ -87,25 +87,16 @@ KdCheckPolylines (DrawablePtr pDrawable, GCPtr pGC,
{
if (pGC->lineWidth == 0)
- {
KdCheckSync (pDrawable->pScreen);
- fbZeroLine (pDrawable, pGC, mode, npt, ppt);
- }
- else
- {
- if (pGC->lineStyle != LineSolid)
- miWideDash (pDrawable, pGC, mode, npt, ppt);
- else
- miWideLine (pDrawable, pGC, mode, npt, ppt);
- }
+ fbPolyLine (pDrawable, pGC, mode, npt, ppt);
}
-#if 0
void
KdCheckPolySegment (DrawablePtr pDrawable, GCPtr pGC,
int nsegInit, xSegment *pSegInit)
{
- KdCheckSync(pDrawable->pScreen);
+ if (pGC->lineWidth == 0)
+ KdCheckSync(pDrawable->pScreen);
fbPolySegment (pDrawable, pGC, nsegInit, pSegInit);
}
@@ -113,10 +104,10 @@ void
KdCheckPolyRectangle (DrawablePtr pDrawable, GCPtr pGC,
int nrects, xRectangle *prect)
{
- KdCheckSync(pDrawable->pScreen);
+ if (pGC->lineWidth == 0)
+ KdCheckSync(pDrawable->pScreen);
fbPolyRectangle (pDrawable, pGC, nrects, prect);
}
-#endif
void
KdCheckPolyArc (DrawablePtr pDrawable, GCPtr pGC,