commit 2a2008e2bb663834da4ac49f249fcd7421d914c7 Author: Mariusz Bialonczyk Date: Sat Mar 18 07:15:17 2017 +0100 TST diff --git a/hw/xfree86/common/xf86cmap.c b/hw/xfree86/common/xf86cmap.c index 8588c9fba..c43aceec9 100644 --- a/hw/xfree86/common/xf86cmap.c +++ b/hw/xfree86/common/xf86cmap.c @@ -155,6 +155,9 @@ xf86HandleColormaps(ScreenPtr pScreen, int *indices; int elements; + if (xf86_crtc_supports_gamma(pScrn)) + return TRUE; + if (!maxColors || !sigRGBbits || (!loadPalette && !xf86_crtc_supports_gamma(pScrn))) return FALSE;