summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-13 18:00:46 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-13 18:00:46 -0200
commitd2709b1af22a06b24606ec8c01f39f1ca27ca8d3 (patch)
tree8fba29fadaf94fd0d9344cc78cd3f71628b2e244 /src/smi_driver.c
parent0870d46718fe4e01953efd63cec46c54140b20f9 (diff)
Enable gamma correction on the MSOC.
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index d4a7afd..c7c18f3 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -885,8 +885,6 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags)
/*
* If the driver can do gamma correction, it should call xf86SetGamma()
- * here. (from MGA, no ViRGE gamma support yet, but needed for
- * xf86HandleColormaps support.)
*/
{
Gamma zeros = { 0.0, 0.0, 0.0 };
@@ -1763,7 +1761,6 @@ SMI_ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
/* Initialize colormap layer. Must follow initialization of the default
* colormap. And SetGamma call, else it will load palette with solid white.
*/
- /* CZ 2.11.2001: CMAP_PALETTED_TRUECOLOR for gamma correction */
if (!xf86HandleColormaps(pScreen, 256, pScrn->rgbBits,SMI_LoadPalette, NULL,
CMAP_RELOAD_ON_MODE_SWITCH | CMAP_PALETTED_TRUECOLOR))
RETURN(FALSE);