mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
wlr_scene: Use direct assignment for damage indicator timestamps
This commit is contained in:
parent
ffb53a6103
commit
fdfdd01a79
1 changed files with 1 additions and 1 deletions
|
@ -1230,7 +1230,7 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output) {
|
||||||
pixman_region32_init(¤t_damage->region);
|
pixman_region32_init(¤t_damage->region);
|
||||||
pixman_region32_copy(¤t_damage->region,
|
pixman_region32_copy(¤t_damage->region,
|
||||||
&scene_output->damage_ring.current);
|
&scene_output->damage_ring.current);
|
||||||
memcpy(¤t_damage->when, &now, sizeof(now));
|
current_damage->when = now;
|
||||||
wl_list_insert(regions, ¤t_damage->link);
|
wl_list_insert(regions, ¤t_damage->link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue