summaryrefslogtreecommitdiff
path: root/miext/shadow/shplanar8.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shplanar8.c')
-rw-r--r--miext/shadow/shplanar8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shplanar8.c b/miext/shadow/shplanar8.c
index 214fa9aac..412335940 100644
--- a/miext/shadow/shplanar8.c
+++ b/miext/shadow/shplanar8.c
@@ -92,7 +92,7 @@
void
shadowUpdatePlanar4x8(ScreenPtr pScreen, shadowBufPtr pBuf)
{
- RegionPtr damage = shadowDamage(pBuf);
+ RegionPtr damage = DamageRegion(pBuf->pDamage);
PixmapPtr pShadow = pBuf->pPixmap;
int nbox = RegionNumRects(damage);
BoxPtr pbox = RegionRects(damage);