diff --git a/src/xgi.h b/src/xgi.h index 410eb87..5ec1544 100644 --- a/src/xgi.h +++ b/src/xgi.h @@ -190,10 +190,6 @@ extern Bool g_bRunTimeDebug; #define XGI_XINERAMA_MAJOR_VERSION 1 #define XGI_XINERAMA_MINOR_VERSION 1 -#if 1 -#define XGIGAMMA /* Include code for gamma correction */ -#endif - /* Jong 09/28/2007; disable this because it causes cursor drawing incorrectly */ #if 0 /* Include code for color hardware cursors */ #define XGI_ARGB_CURSOR diff --git a/src/xgi_dac.c b/src/xgi_dac.c index dce55cb..fe311a9 100644 --- a/src/xgi_dac.c +++ b/src/xgi_dac.c @@ -619,7 +619,6 @@ XGILoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, if (!IS_DUAL_HEAD(pXGI) || IS_SECOND_HEAD(pXGI)) { switch(pXGI->CurrentLayout.depth) { -#ifdef XGIGAMMA case 15: if(dogamma1) { orXGIIDXREG(XGISR, 0x07, 0x04); @@ -674,7 +673,6 @@ PDEBUG(ErrorF("\ndogamma1 SR7=%x ", SR7)); andXGIIDXREG(XGISR, 0x07, ~0x04); } break; -#endif default: if((pScrn->rgbBits == 8) && (dogamma1)) orXGIIDXREG(XGISR, 0x07, 0x04);