From 3cdc53797bf6fdbfbcb53e07b269a5071f5ec97d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 26 Jun 2006 16:23:55 +0200 Subject: [PATCH] Fix build with new EXA headers. --- src/i830_exa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i830_exa.c b/src/i830_exa.c index 7212972a..665c4d72 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -149,7 +149,7 @@ I830EXAPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg) I830Ptr pI830 = I830PTR(pScrn); unsigned long offset, pitch; - if (planemask != (Pixel)~0 && !EXA_PM_IS_SOLID(pPixmap, planemask)) + if (!EXA_PM_IS_SOLID(&pPixmap->drawable, planemask)) I830FALLBACK("planemask is not solid"); offset = exaGetPixmapOffset(pPixmap); @@ -234,7 +234,7 @@ I830EXAPrepareCopy(PixmapPtr pSrcPixmap, PixmapPtr pDstPixmap, int xdir, ScrnInfoPtr pScrn = xf86Screens[pDstPixmap->drawable.pScreen->myNum]; I830Ptr pI830 = I830PTR(pScrn); - if (planemask != (Pixel)~0 && !EXA_PM_IS_SOLID(pSrcPixmap, planemask)) + if (!EXA_PM_IS_SOLID(&pSrcPixmap->drawable, planemask)) I830FALLBACK("planemask is not solid"); pI830->copy_src_pitch = exaGetPixmapPitch(pSrcPixmap);