From: Michel Dänzer <michel.daenzer@xxxxxxx> Preparation for following changes, no functional change intended yet. Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/drmmode_display.c | 2 +- src/radeon_kms.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 245a92fb0..6be6513af 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -795,7 +795,7 @@ drmmode_crtc_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode, DamageCreate(radeon_screen_damage_report, NULL, DamageReportRawRegion, TRUE, screen, NULL); - DamageRegister(&screen->GetScreenPixmap(screen)->drawable, + DamageRegister(&screen->root->drawable, drmmode_crtc->scanout_damage); } diff --git a/src/radeon_kms.c b/src/radeon_kms.c index b22c98406..f76d76a91 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -981,7 +981,7 @@ radeon_scanout_do_update(xf86CrtcPtr xf86_crtc, int scanout_id) GCPtr gc = GetScratchGC(pDraw->depth, pScreen); ValidateGC(pDraw, gc); - (*gc->ops->CopyArea)(&pScreen->GetScreenPixmap(pScreen)->drawable, + (*gc->ops->CopyArea)(&pScreen->GetWindowPixmap(pScreen->root)->drawable, pDraw, gc, xf86_crtc->x + extents.x1, xf86_crtc->y + extents.y1, extents.x2 - extents.x1, extents.y2 - extents.y1, -- 2.13.3