summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-25 19:57:05 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-25 19:57:05 -0200
commit06c78cee718a86b1521c1fc1075d08bb9ad257f1 (patch)
tree2d5a97ef42bdbf10a93373279fc88bbe3d41f722 /src/smi_driver.c
parent9570cfdc132b0acb1d2b70edc6a3a5a812ef9691 (diff)
Remove smi_dga.c and polylines code from smi_xaa.c.
DGA was also not being properly test to not enable the pSmi fields, but since the dga implementation is very basic, it is better to just remove it (if compiling the sources on pre 1.4 X Server, DGA will be disabled). The polylines code in xmi_xaa.c was already if 0'ed for some time, but it may be reinstantiated to accelerate (back) xaa rotated modes. Currently only randr+exa accelerates rotated modes.
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 2d88a76..8449eb9 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -1820,9 +1820,6 @@ SMI_CloseScreen(int scrnIndex, ScreenPtr pScreen)
exaDriverFini(pScreen);
pSmi->EXADriverPtr = NULL;
}
- if (pSmi->DGAModes != NULL) {
- xfree(pSmi->DGAModes);
- }
if (pSmi->pInt10 != NULL) {
xf86FreeInt10(pSmi->pInt10);
pSmi->pInt10 = NULL;