From: Keith Whitwell Date: Tue, 28 Mar 2006 07:40:57 +0000 (+0000) Subject: Revert merge of new/experimental code from texmem branch. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1155f64cc094fcc865f55f22d07ce8b5e1fa2f34;p=mesa.git Revert merge of new/experimental code from texmem branch. --- 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 ); }