summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_overlay.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-06-05 09:48:19 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-05 09:49:47 +0100
commita9f9fb8e44bb0bdbd004da1fce986585ebcafd28 (patch)
treedb4cb2243d1c7a389df49ba89998f7800ed33c7e /src/sna/sna_video_overlay.c
parent5d0ae71f1d667759ed4cfd2b7e793a08b8e3702c (diff)
sna/video: Fix redundant initialisation of video->clip
It will be created before use anyway, but this silences a compiler warning. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video_overlay.c')
-rw-r--r--src/sna/sna_video_overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_overlay.c b/src/sna/sna_video_overlay.c
index 6d852752..e3140b32 100644
--- a/src/sna/sna_video_overlay.c
+++ b/src/sna/sna_video_overlay.c
@@ -775,7 +775,7 @@ void sna_video_overlay_setup(struct sna *sna, ScreenPtr screen)
video->gamma1 = 0x101010;
video->gamma0 = 0x080808;
video->rotation = RR_Rotate_0;
- RegionNil(&video->clip);
+ RegionNull(&video->clip);
xvColorKey = MAKE_ATOM("XV_COLORKEY");
xvBrightness = MAKE_ATOM("XV_BRIGHTNESS");