summaryrefslogtreecommitdiff
path: root/src/tga_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tga_driver.c')
-rw-r--r--src/tga_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tga_driver.c b/src/tga_driver.c
index 1a3eca8..dd4f3e6 100644
--- a/src/tga_driver.c
+++ b/src/tga_driver.c
@@ -1625,8 +1625,10 @@ TGACloseScreen(CLOSE_SCREEN_ARGS_DECL)
TGASync(pScrn);
TGAUnmapMem(pScrn);
+#ifdef HAVE_XAA_H
if(pTga->AccelInfoRec)
XAADestroyInfoRec(pTga->AccelInfoRec);
+#endif
pScrn->vtSema = FALSE;
pScreen->CloseScreen = pTga->CloseScreen;