summaryrefslogtreecommitdiff
path: root/fb/fbcopy.c
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-11-04 21:37:32 +0000
committerKevin E Martin <kem@kem.org>2005-11-04 21:37:32 +0000
commit89c661d61f1b9c70a08237476fa1f7f42c1783ab (patch)
treec95ce6d32eac40f097dfa43f7c25496ac762c9ae /fb/fbcopy.c
parent0b150a05e6fadca7ee8240697d6cbeadea0c53b3 (diff)
Only use fbCopyAreammx if planemask is FB_ALLONES (fixes XTS5 XCopyArea
tests 22 and 23).
Diffstat (limited to 'fb/fbcopy.c')
-rw-r--r--fb/fbcopy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fb/fbcopy.c b/fb/fbcopy.c
index 1b3404a1b..1e7b93435 100644
--- a/fb/fbcopy.c
+++ b/fb/fbcopy.c
@@ -63,7 +63,8 @@ fbCopyNtoN (DrawablePtr pSrcDrawable,
while (nbox--)
{
#ifdef USE_MMX
- if (alu == GXcopy && !reverse && !upsidedown && fbHaveMMX())
+ if (pm == FB_ALLONES && alu == GXcopy && !reverse &&
+ !upsidedown && fbHaveMMX())
{
if (!fbCopyAreammx (pSrcDrawable,
pDstDrawable,