diff --git a/fb/fboverlay.c b/fb/fboverlay.c index 5ead17315..06f9ee4e2 100644 --- a/fb/fboverlay.c +++ b/fb/fboverlay.c @@ -81,7 +81,7 @@ fbOverlayCloseScreen(ScreenPtr pScreen) int i; for (i = 0; i < pScrPriv->nlayers; i++) { - (*pScreen->DestroyPixmap) (pScrPriv->layer[i].u.run.pixmap); + dixDestroyPixmap(pScrPriv->layer[i].u.run.pixmap, 0); RegionUninit(&pScrPriv->layer[i].u.run.region); } return TRUE;