From: Brian Paul Date: Sat, 24 Apr 2004 14:55:02 +0000 (+0000) Subject: call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41318937efb006e71614633caf2a6272ffb9d945;p=mesa.git call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck) --- diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index 4edb954ef86..0a00b347b38 100644 --- a/src/mesa/drivers/dri/mga/mga_xmesa.c +++ b/src/mesa/drivers/dri/mga/mga_xmesa.c @@ -404,6 +404,8 @@ mgaDestroyScreen(__DRIscreenPrivate *sPriv) if (MGA_DEBUG&DEBUG_VERBOSE_DRI) fprintf(stderr, "mgaDestroyScreen\n"); + drmUnmapBufs(mgaScreen->bufs); + /*drmUnmap(mgaScreen->agp_tex.map, mgaScreen->agp_tex.size);*/ /* free all option information */