Revert "DIX is responsible for ref counting scanout pixmaps."
This reverts commit 96b4d4787b
.
This commit is contained in:
parent
7b7cd3f121
commit
793a242c89
|
@ -414,6 +414,10 @@ done:
|
|||
crtc->active = TRUE;
|
||||
if (scrn->pScreen)
|
||||
xf86CrtcSetScreenSubpixelOrder (scrn->pScreen);
|
||||
if (crtc->scanoutPixmap)
|
||||
++crtc->scanoutPixmap->refcnt;
|
||||
if (saved_scanout_pixmap)
|
||||
(*scrn->pScreen->DestroyPixmap)(saved_scanout_pixmap);
|
||||
if (scrn->ModeSet)
|
||||
scrn->ModeSet(scrn);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue