summaryrefslogtreecommitdiff
path: root/xserver/miext/shadow/shafb8.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/miext/shadow/shafb8.c')
-rw-r--r--xserver/miext/shadow/shafb8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/miext/shadow/shafb8.c b/xserver/miext/shadow/shafb8.c
index 8d84bfa01..d2b73fc64 100644
--- a/xserver/miext/shadow/shafb8.c
+++ b/xserver/miext/shadow/shafb8.c
@@ -84,7 +84,7 @@ static inline void store_afb8(void *dst, unsigned int stride,
void
shadowUpdateAfb8(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);