summaryrefslogtreecommitdiff
path: root/miext/shadow/shrotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'miext/shadow/shrotate.c')
-rw-r--r--miext/shadow/shrotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miext/shadow/shrotate.c b/miext/shadow/shrotate.c
index 673cd76b5..c3898266c 100644
--- a/miext/shadow/shrotate.c
+++ b/miext/shadow/shrotate.c
@@ -54,8 +54,8 @@ shadowUpdateRotatePacked (ScreenPtr pScreen,
{
RegionPtr damage = shadowDamage (pBuf);
PixmapPtr pShadow = pBuf->pPixmap;
- int nbox = REGION_NUM_RECTS (damage);
- BoxPtr pbox = REGION_RECTS (damage);
+ int nbox = RegionNumRects (damage);
+ BoxPtr pbox = RegionRects (damage);
FbBits *shaBits;
FbStride shaStride;
int shaBpp;