Only use fbCopyAreammx if planemask is FB_ALLONES (fixes XTS5 XCopyArea

tests 22 and 23).
This commit is contained in:
Kevin E Martin 2005-11-04 21:37:32 +00:00
parent 0b150a05e6
commit 89c661d61f

View File

@ -63,7 +63,8 @@ fbCopyNtoN (DrawablePtr pSrcDrawable,
while (nbox--) while (nbox--)
{ {
#ifdef USE_MMX #ifdef USE_MMX
if (alu == GXcopy && !reverse && !upsidedown && fbHaveMMX()) if (pm == FB_ALLONES && alu == GXcopy && !reverse &&
!upsidedown && fbHaveMMX())
{ {
if (!fbCopyAreammx (pSrcDrawable, if (!fbCopyAreammx (pSrcDrawable,
pDstDrawable, pDstDrawable,