summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas@tungstengraphics.com>2006-03-24 16:19:49 +0000
committerThomas Hellstrom <thomas@tungstengraphics.com>2006-03-24 16:19:49 +0000
commitd140055f5be6185f634f7d13683c36ed698eb89a (patch)
tree223c4eff4a762e7bd3255ede19d2552de99b0582 /src
parentee365fe0f1ba3c59176fcea7c7e360d776ee8c4b (diff)
Diffstat (limited to 'src')
-rw-r--r--src/i830_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 840471c5..49a5f055 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -5578,7 +5578,8 @@ I830BIOSCloseScreen(int scrnIndex, ScreenPtr pScreen)
pI830->closing = TRUE;
#ifdef XF86DRI
if (pI830->directRenderingOpen) {
- drmMMTakedown(pI830->drmSubFD);
+ I830DrmMMTakedown(pI830->drmSubFD);
+
pI830->directRenderingOpen = FALSE;
I830DRICloseScreen(pScreen);
}