summaryrefslogtreecommitdiff
path: root/miext/shadow/shplanar.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shplanar.c')
-rw-r--r--miext/shadow/shplanar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/shadow/shplanar.c b/miext/shadow/shplanar.c
index 979905b86..3a8f05a85 100644
--- a/miext/shadow/shplanar.c
+++ b/miext/shadow/shplanar.c
@@ -89,7 +89,7 @@ void
shadowUpdatePlanar4 (ScreenPtr pScreen,
shadowBufPtr pBuf)
{
- RegionPtr damage = &pBuf->damage;
+ RegionPtr damage = shadowDamage (pBuf);
PixmapPtr pShadow = pBuf->pPixmap;
int nbox = REGION_NUM_RECTS (damage);
BoxPtr pbox = REGION_RECTS (damage);