drop #ifdef RANDR_12_INTERFACE

All (non-ancient) Xservers have it.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2026-01-12 18:45:26 +01:00
committed by Enrico Weigelt
parent f49ccb20cb
commit 04752db35c

View File

@@ -1621,12 +1621,10 @@ static void R128LoadPalette(ScrnInfoPtr pScrn, int numColors,
}
/* Make the change through RandR */
#ifdef RANDR_12_INTERFACE
if (crtc->randr_crtc)
RRCrtcGammaSet(crtc->randr_crtc, lut_r, lut_g, lut_b);
else
#endif
crtc->funcs->gamma_set(crtc, lut_r, lut_g, lut_b, 256);
crtc->funcs->gamma_set(crtc, lut_r, lut_g, lut_b, 256);
}
}