summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_sprite.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-06-11 09:29:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-06-11 11:02:05 +0100
commiteb9de37daaea45e917fa7f44444a9782070f7333 (patch)
treed666cec70761715feff03a5908ff2fdf7fbe1325 /src/sna/sna_video_sprite.c
parent085141348cfe8386059062a58172855f72d5e5b6 (diff)
sna: Silence compiler warnings for discarding const Region points
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_sprite.c')
-rw-r--r--src/sna/sna_video_sprite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/sna_video_sprite.c b/src/sna/sna_video_sprite.c
index de04638d..78b046b5 100644
--- a/src/sna/sna_video_sprite.c
+++ b/src/sna/sna_video_sprite.c
@@ -383,7 +383,7 @@ static int sna_video_sprite_put_image(ClientPtr client,
format->id, width, height, sync));
DBG(("%s: region %d:(%d, %d), (%d, %d)\n", __FUNCTION__,
- RegionNumRects(&clip),
+ region_num_rects(&clip),
clip.extents.x1, clip.extents.y1,
clip.extents.x2, clip.extents.y2));
@@ -522,8 +522,8 @@ off:
__sna_pixmap_get_bo(sna->front),
sna->front->drawable.bitsPerPixel,
video->color_key,
- RegionRects(&clip),
- RegionNumRects(&clip)))
+ region_rects(&clip),
+ region_num_rects(&clip)))
RegionCopy(&video->clip, &clip);
sna_window_set_port((WindowPtr)draw, port);