summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-04-24 14:55:02 +0000
committerBrian Paul <[email protected]>2004-04-24 14:55:02 +0000
commit41318937efb006e71614633caf2a6272ffb9d945 (patch)
tree1b5a78fa6872cab7e1bd36d6a1f35c9594986f98 /src
parentf7b4e0d376359cdbf365337b060127100c41c4d5 (diff)
call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/mga/mga_xmesa.c2
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 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 */