mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
wlr_scene: Don't leak a region32 when texture failed to upload
This commit is contained in:
parent
fe9e193ab5
commit
78cf39b6bd
1 changed files with 1 additions and 1 deletions
|
@ -1058,7 +1058,7 @@ static void scene_node_render(struct wlr_scene_node *node,
|
||||||
struct wlr_renderer *renderer = output->renderer;
|
struct wlr_renderer *renderer = output->renderer;
|
||||||
texture = scene_buffer_get_texture(scene_buffer, renderer);
|
texture = scene_buffer_get_texture(scene_buffer, renderer);
|
||||||
if (texture == NULL) {
|
if (texture == NULL) {
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
transform = wlr_output_transform_invert(scene_buffer->transform);
|
transform = wlr_output_transform_invert(scene_buffer->transform);
|
||||||
|
|
Loading…
Reference in a new issue