diff options
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 3 |
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); } |