summaryrefslogtreecommitdiff
path: root/fb/fbpict.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-12-20 21:40:19 +0000
committerAdam Jackson <ajax@nwnk.net>2005-12-20 21:40:19 +0000
commitb37e738d5f4e1769bdee98acca788aeeb1556bcc (patch)
tree422c4807dfe58970a5cc05f10bfcdc0317dfb409 /fb/fbpict.c
parent03d37eb03864cfc1a2f8d239d5a4c8341bf274f7 (diff)
Fix an fb regression on A8 pictures. (Fredrik Höglund)
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r--fb/fbpict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index 05e0ef03f..5ab3756b9 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -881,7 +881,7 @@ fbComposite (CARD8 op,
case PictOpSrc:
#ifdef USE_MMX
if (!pMask && pSrc->format == pDst->format &&
- pSrc->pDrawable != pDst->pDrawable)
+ pSrc->format != PICT_a8 && pSrc->pDrawable != pDst->pDrawable)
{
func = fbCompositeCopyAreammx;
}