aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-23 00:55:55 +0100
committeremersion <contact@emersion.fr>2018-03-23 00:55:55 +0100
commita854c2f24677595110859373c75eb8ec5e50f91e (patch)
tree50bde81f0a3b4a9a66f1e029823c391cb7345657 /rootston/output.c
parent60bfe0a6aad6bc415f84a52326c9a0851fc647c0 (diff)
parentef3769851f1b8586951cdf3ae71c3529f95a8fd6 (diff)
Merge branch 'master' into gles2-renderer-redesign
Diffstat (limited to 'rootston/output.c')
-rw-r--r--rootston/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/output.c b/rootston/output.c
index 1de27bad..1284c928 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -680,6 +680,7 @@ static void damage_from_surface(struct wlr_surface *surface,
}
pixman_region32_translate(&damage, box.x, box.y);
wlr_output_damage_add(output->damage, &damage);
+ pixman_region32_fini(&damage);
} else {
pixman_box32_t *extents =
pixman_region32_extents(&surface->current->surface_damage);