vfb: set gamma size to avoid xrandr to complain about it missing
This commit is contained in:
parent
492639f5e1
commit
82225aab81
|
@ -833,6 +833,9 @@ vfbRandRInit(ScreenPtr pScreen)
|
||||||
if (!crtc)
|
if (!crtc)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
/* This is to avoid xrandr to complain about the gamma missing */
|
||||||
|
RRCrtcGammaSetSize (crtc, 256);
|
||||||
|
|
||||||
output = RROutputCreate (pScreen, "screen", 6, NULL);
|
output = RROutputCreate (pScreen, "screen", 6, NULL);
|
||||||
if (!output)
|
if (!output)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue