diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-24 14:55:02 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-04-24 14:55:02 +0000 |
commit | 41318937efb006e71614633caf2a6272ffb9d945 (patch) | |
tree | 1b5a78fa6872cab7e1bd36d6a1f35c9594986f98 /src/mesa/drivers/dri/mga | |
parent | f7b4e0d376359cdbf365337b060127100c41c4d5 (diff) |
call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r-- | src/mesa/drivers/dri/mga/mga_xmesa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/mga/mga_xmesa.c b/src/mesa/drivers/dri/mga/mga_xmesa.c index 4edb954ef8..0a00b347b3 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 */ |