call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 24 Apr 2004 14:55:02 +0000 (14:55 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 24 Apr 2004 14:55:02 +0000 (14:55 +0000)
src/mesa/drivers/dri/mga/mga_xmesa.c

index 4edb954ef8621e6de04255196b65e188baf0e316..0a00b347b38f9c1261c8ddcf8568dd49c9cf8e1f 100644 (file)
@@ -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 */