diff options
author | Dave Airlie <airlied@linux.ie> | 2009-10-09 20:08:31 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-10-09 20:08:31 +1000 |
commit | a956d478043b44c49aed39c7aa3d576ef32cadc5 (patch) | |
tree | dc5a9f4e0b17ebb1560affaa640570850643d66f /src/radeon_kms.c | |
parent | a493feb94c0d84aaf5bfd84c6940d7f03974dd86 (diff) |
Revert "kms: setup colormap and gamma correctly."
This reverts commit 60d9685abddccec17c1a9a5ec48cbe9c92543e0f.
which breaks colormap on 1.6 X server
Conflicts:
src/drmmode_display.c
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r-- | src/radeon_kms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index faa6025e..b3fe20cd 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -767,8 +767,8 @@ Bool RADEONScreenInit_KMS(int scrnIndex, ScreenPtr pScreen, // info->PointerMoved = pScrn->PointerMoved; // pScrn->PointerMoved = RADEONPointerMoved; - if (!miCreateDefColormap(pScreen)) - return FALSE; + if (!drmmode_setup_colormap(pScreen, pScrn)) + return FALSE; /* Note unused options */ if (serverGeneration == 1) |