mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 06:05:59 +01:00
surface damage fixes 2
This commit is contained in:
parent
0b0cd85085
commit
7a2f296c93
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ void CHyprRenderer::damageSurface(wlr_surface* pSurface, double x, double y) {
|
||||||
wlr_region_scale(&damageBoxForEach, &damageBox, m->scale);
|
wlr_region_scale(&damageBoxForEach, &damageBox, m->scale);
|
||||||
pixman_region32_translate(&damageBoxForEach, lx, ly);
|
pixman_region32_translate(&damageBoxForEach, lx, ly);
|
||||||
|
|
||||||
wlr_output_damage_add(m->damage, &damageBox);
|
wlr_output_damage_add(m->damage, &damageBoxForEach);
|
||||||
}
|
}
|
||||||
|
|
||||||
pixman_region32_fini(&damageBoxForEach);
|
pixman_region32_fini(&damageBoxForEach);
|
||||||
|
|
Loading…
Reference in a new issue