mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 18:30:34 +01:00
modesetting: Empty damage once dispatch is done
This commit is to fix some regression caused by
commit 995e60a919
where DamageEmpty on damage was missing in several
places.
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1486>
This commit is contained in:
parent
5582e45d94
commit
2114016ea0
1 changed files with 4 additions and 0 deletions
|
|
@ -774,6 +774,8 @@ dispatch_dirty(ScreenPtr pScreen)
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
DamageEmpty(ms->damage);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -785,6 +787,8 @@ dispatch_dirty_pixmap(ScrnInfoPtr scrn, xf86CrtcPtr crtc, PixmapPtr ppix)
|
|||
int fb_id = ppriv->fb_id;
|
||||
|
||||
dispatch_dirty_region(scrn, crtc, ppix, damage, fb_id, 0, 0);
|
||||
if (damage)
|
||||
DamageEmpty(damage);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue