diff options
Diffstat (limited to 'hw/xfree86/modes/xf86Crtc.c')
-rw-r--r-- | hw/xfree86/modes/xf86Crtc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index b5e9dc26f..94f2c506e 100644 --- a/hw/xfree86/modes/xf86Crtc.c +++ b/hw/xfree86/modes/xf86Crtc.c @@ -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 { |