mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
wlr_scene: Remove duplicate buffer check when submitting a new buffer
wlr_buffer allows mutation during its lifetime. This happens for wlr_client_buffer which fixes damage tracking issues.
This commit is contained in:
parent
84e727daae
commit
c58ad0f171
1 changed files with 0 additions and 4 deletions
|
@ -566,10 +566,6 @@ void wlr_scene_buffer_set_buffer_with_damage(struct wlr_scene_buffer *scene_buff
|
|||
// coordinates.
|
||||
assert(buffer || !damage);
|
||||
|
||||
if (buffer == scene_buffer->buffer) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool update = false;
|
||||
wlr_buffer_unlock(scene_buffer->buffer);
|
||||
|
||||
|
|
Loading…
Reference in a new issue