From 41318937efb006e71614633caf2a6272ffb9d945 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 24 Apr 2004 14:55:02 +0000 Subject: [PATCH] call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck) --- src/mesa/drivers/dri/mga/mga_xmesa.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.30.2