diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_driver.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index e79075eb..50d9ef0c 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1736,11 +1736,7 @@ I830LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, dspbase = DSPBBASE; } - if (pScrn->depth > 8) { - OUTREG(dspreg, INREG(dspreg) | DISPPLANE_GAMMA_ENABLE); - } else { - OUTREG(dspreg, INREG(dspreg) & ~DISPPLANE_GAMMA_ENABLE); - } + OUTREG(dspreg, INREG(dspreg) | DISPPLANE_GAMMA_ENABLE); OUTREG(dspbase, INREG(dspbase)); /* It seems that an initial read is needed. */ |