summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2006-03-28 07:40:57 +0000
committerKeith Whitwell <[email protected]>2006-03-28 07:40:57 +0000
commit1155f64cc094fcc865f55f22d07ce8b5e1fa2f34 (patch)
tree021b693bff03f733c714fcc260c05c2cb8d2be63
parent255e8ebd581c34c5174783a191a12a3ac0c00cde (diff)
Revert merge of new/experimental code from texmem branch.
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index bad7073ed8b..883a89c8886 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -831,7 +831,7 @@ static void driDestroyScreen(__DRInativeDisplay *dpy, int scrn, void *screenPriv
(void)drmUnmap((drmAddress)psp->pSAREA, SAREA_MAX);
(void)drmUnmap((drmAddress)psp->pFB, psp->fbSize);
_mesa_free(psp->pDevPriv);
- (void)drmCloseOnce(psp->fd);
+ (void)drmClose(psp->fd);
if ( psp->modes != NULL ) {
(*dri_interface->destroyContextModes)( psp->modes );
}