diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-06-26 16:23:55 +0200 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-06-26 16:23:55 +0200 |
commit | 3cdc53797bf6fdbfbcb53e07b269a5071f5ec97d (patch) | |
tree | 5e8f55830f34a1d9c0338dd71644e7e6d6258609 /src/i830_exa.c | |
parent | d7e5d996aa123e52857362fa8a1e69f709bfe218 (diff) |
Fix build with new EXA headers.
Diffstat (limited to 'src/i830_exa.c')
-rw-r--r-- | src/i830_exa.c | 4 |
1 files 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); |