call drmUnmapBufs() in mgaDestroyScreen (Tilman Sauerbeck)

This commit is contained in:
Brian Paul 2004-04-24 14:55:02 +00:00
parent f7b4e0d376
commit 41318937ef

View 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 */