diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 09:29:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-11 11:02:05 +0100 |
commit | eb9de37daaea45e917fa7f44444a9782070f7333 (patch) | |
tree | d666cec70761715feff03a5908ff2fdf7fbe1325 /src/sna/sna_video_sprite.c | |
parent | 085141348cfe8386059062a58172855f72d5e5b6 (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.c | 6 |
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); |