diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-02-19 00:04:49 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-02-19 00:04:49 +0000 |
commit | 7cca2ae73e0114a9df2152ed5ed5b66fc44f65dd (patch) | |
tree | c6179462342812bf7c151765266d0f7e78ecb4af /src | |
parent | 2e01277da0be55687ca901efadcaf5c919826824 (diff) |
fix another build problem
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_dri.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index 35531ff9..06bccccb 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -926,10 +926,12 @@ I830DRIFinishScreenInit(ScreenPtr pScreen) /* Have shadow run only while there is 3d active. */ +#if 0 if (pI830->allowPageFlip && pI830->drmMinor >= 1) { shadowAdd(pScreen, 0, I830DRIShadowUpdate, 0, 0, 0); } else +#endif pI830->allowPageFlip = 0; @@ -1218,7 +1220,7 @@ I830EmitInvarientState(ScrnInfoPtr pScrn) * might be faster, but seems like a lot more work... */ - +#if 0 /* This should be done *before* XAA syncs, * Otherwise will have to sync again??? */ @@ -1227,7 +1229,7 @@ I830DRIShadowUpdate (ScreenPtr pScreen, shadowBufPtr pBuf) { ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; I830Ptr pI830 = I830PTR(pScrn); - RegionPtr damage = (RegionPtr) shadowBuf(pBuf); + RegionPtr damage = (RegionPtr) shadowDamage(pBuf); int i, num = REGION_NUM_RECTS(damage); BoxPtr pbox = REGION_RECTS(damage); drmI830Sarea *pSAREAPriv = DRIGetSAREAPrivate(pScreen); @@ -1263,6 +1265,7 @@ I830DRIShadowUpdate (ScreenPtr pScreen, shadowBufPtr pBuf) ADVANCE_LP_RING(); } } +#endif static void I830EnablePageFlip(ScreenPtr pScreen) |