Revert merge of new/experimental code from texmem branch.
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 28 Mar 2006 07:40:57 +0000 (07:40 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 28 Mar 2006 07:40:57 +0000 (07:40 +0000)
src/mesa/drivers/dri/common/dri_util.c

index bad7073ed8bd96bf373bda582d3a23bdddabb412..883a89c8886e5671a23e9f19840698a55bb46905 100644 (file)
@@ -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 );
        }