summaryrefslogtreecommitdiff
path: root/fb/fbfill.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@redhat.com>2007-06-11 15:19:27 -0400
committerSøren Sandmann Pedersen <sandmann@redhat.com>2007-06-11 15:19:27 -0400
commit3f9adb18f127318d054f30a57e3a77176e14c692 (patch)
treece334974a30347e50a56f653ec2011d2f764b72a /fb/fbfill.c
parentd06099b38e8445e6e31f5178ffefcc31a71080ef (diff)
Port a few forgotten fbSolidFillmmx()'es to fbFillmmx(). Use pixman_blt() instead of fbBltmmx()
in fbCopyNToN().
Diffstat (limited to 'fb/fbfill.c')
-rw-r--r--fb/fbfill.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fb/fbfill.c b/fb/fbfill.c
index 35e4427c6..4f13a023a 100644
--- a/fb/fbfill.c
+++ b/fb/fbfill.c
@@ -221,13 +221,13 @@ fbSolidBoxClipped (DrawablePtr pDrawable,
#ifdef USE_MMX
if (!and && fbHaveMMX())
{
- if (fbSolidFillmmx (pDrawable,
- partX1, partY1,
- (partX2 - partX1), (partY2 - partY1),
- xor)) {
- fbFinishAccess (pDrawable);
- return;
- }
+ if (fbFillmmx (dst, dstStride, dstBpp,
+ partX1 + dstXoff, partX2 + dstYoff, (partX2 - partX1), (partY2 - partY1),
+ xor))
+ {
+ fbFinishAccess (pDrawable);
+ return;
+ }
}
#endif
fbSolid (dst + (partY1 + dstYoff) * dstStride,