summaryrefslogtreecommitdiff
path: root/saa/saa_render.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-06-16 21:21:25 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2011-06-16 21:31:44 +0200
commitd28613e557fcdc4fc69f9a138a8c5fc909a719f5 (patch)
tree1b4971d9c34a8eed7a6861071ae5167e1df5bd0e /saa/saa_render.c
parent84166d4b457244bcc2f5ace63702d594d602d0c2 (diff)
vmwgfx: Fix up driver build process for Xserver >= 1.7.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'saa/saa_render.c')
-rw-r--r--saa/saa_render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/saa/saa_render.c b/saa/saa_render.c
index 1df0dff..8c6e1e6 100644
--- a/saa/saa_render.c
+++ b/saa/saa_render.c
@@ -259,10 +259,10 @@ saa_copy_composite(CARD8 op,
}
ret = saa_hw_copy_nton(pSrc->pDrawable, pDst->pDrawable, NULL,
- RegionRects(&region),
- RegionNumRects(&region),
+ REGION_RECTS(&region),
+ REGION_NUM_RECTS(&region),
xSrc - xDst, ySrc - yDst, FALSE, FALSE);
- RegionUninit(&region);
+ REGION_UNINIT(pDst->pDrwable.pScreen, &region);
if (ret)
return TRUE;
}