diff options
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index edd955e..ad3325b 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -779,7 +779,7 @@ drmmode_crtc_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode, *x = *y = 0; amdgpu_scanout_do_update(crtc, scanout_id, - &screen->GetWindowPixmap(screen->root)->drawable, + screen->GetWindowPixmap(screen->root), box); amdgpu_glamor_finish(scrn); } @@ -2850,8 +2850,8 @@ Bool amdgpu_do_pageflip(ScrnInfoPtr scrn, ClientPtr client, goto error; } - amdgpu_scanout_do_update(crtc, scanout_id, - &new_front->drawable, &extents); + amdgpu_scanout_do_update(crtc, scanout_id, new_front, + &extents); drmmode_crtc_wait_pending_event(drmmode_crtc, pAMDGPUEnt->fd, drmmode_crtc->scanout_update_pending); |