summaryrefslogtreecommitdiff
path: root/hw/dmx/dmxshadow.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/dmxshadow.c')
-rw-r--r--hw/dmx/dmxshadow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dmx/dmxshadow.c b/hw/dmx/dmxshadow.c
index 461fd085b..a62eb5c52 100644
--- a/hw/dmx/dmxshadow.c
+++ b/hw/dmx/dmxshadow.c
@@ -47,8 +47,8 @@
void dmxShadowUpdateProc(ScreenPtr pScreen, shadowBufPtr pBuf)
{
RegionPtr damage = &pBuf->damage;
- int nbox = REGION_NUM_RECTS(damage);
- BoxPtr pbox = REGION_RECTS(damage);
+ int nbox = RegionNumRects(damage);
+ BoxPtr pbox = RegionRects(damage);
DMXScreenInfo *dmxScreen = &dmxScreens[pScreen->myNum];
if (!dmxScreen->beDisplay)