mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 19:19:13 +00:00
DIX is responsible for ref counting scanout pixmaps.
Remove some extra ref counting inside hw/xfree86/modes Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
This commit is contained in:
@@ -414,10 +414,6 @@ 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 {
|
||||
|
||||
Reference in New Issue
Block a user