vfb: set gamma size to avoid xrandr to complain about it missing

This commit is contained in:
Ignacio Casal Quinteiro 2019-07-17 14:45:46 +02:00 committed by Ignacio Casal
parent 492639f5e1
commit 82225aab81

View File

@ -833,6 +833,9 @@ vfbRandRInit(ScreenPtr pScreen)
if (!crtc)
return FALSE;
/* This is to avoid xrandr to complain about the gamma missing */
RRCrtcGammaSetSize (crtc, 256);
output = RROutputCreate (pScreen, "screen", 6, NULL);
if (!output)
return FALSE;