summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 19:49:20 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-28 19:49:20 -0200
commit5a65559e12452a47f9848c47cfa6e30cfb871f0b (patch)
tree6c6a379162d3e9bcf76598f8a194877ec8966e01 /src
parent06c78cee718a86b1521c1fc1075d08bb9ad257f1 (diff)
DGA is dependent on HAVE_XMODES.
Diffstat (limited to 'src')
-rw-r--r--src/smi_driver.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index 8449eb9..e251448 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -1717,10 +1717,6 @@ SMI_ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
#ifdef HAVE_XMODES
xf86DiDGAInit(pScreen, (unsigned long)(pSmi->FBBase + pScrn->fbOffset));
-#else
- /* hardware cursor needs to wrap this layer */
- if (!pSmi->NoAccel && !pSmi->useEXA)
- SMI_DGAInit(pScreen);
#endif
/* Initialise cursor functions */