summaryrefslogtreecommitdiff
path: root/xserver/hw
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2018-04-19 14:52:35 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2018-04-19 14:52:35 +0000
commitb85464306b463bec85e7dfc58f043b68442efeff (patch)
treea0a7067b20b1a26054978ae9abf252cb55dad045 /xserver/hw
parent81479de978ead142b1fc36cdc5f8d24576a98c44 (diff)
modesetting: setup colormap
Fixes utilities like xcalib Upstream xorg commit ac138f9b31b0fba00742edbc3326afe66e28099a ok matthieu
Diffstat (limited to 'xserver/hw')
-rw-r--r--xserver/hw/xfree86/drivers/modesetting/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/drivers/modesetting/driver.c b/xserver/hw/xfree86/drivers/modesetting/driver.c
index bdb848bd1..c604ebc09 100644
--- a/xserver/hw/xfree86/drivers/modesetting/driver.c
+++ b/xserver/hw/xfree86/drivers/modesetting/driver.c
@@ -1675,7 +1675,7 @@ ScreenInit(ScreenPtr pScreen, int argc, char **argv)
if (!xf86CrtcScreenInit(pScreen))
return FALSE;
- if (!miCreateDefColormap(pScreen))
+ if (!drmmode_setup_colormap(pScreen, pScrn))
return FALSE;
xf86DPMSInit(pScreen, xf86DPMSSet, 0);