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>
This commit is contained in:
Chris Wilson 2013-06-05 09:48:19 +01:00
parent 5d0ae71f1d
commit a9f9fb8e44
1 changed files with 1 additions and 1 deletions

View File

@ -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");