diff options
author | Alexander Orzechowski <[email protected]> | 2022-08-22 14:45:30 -0400 |
---|---|---|
committer | Alexander Orzechowski <[email protected]> | 2022-08-22 14:46:41 -0400 |
commit | 304e0524e9cb2298acad1673656dd5c266c13817 (patch) | |
tree | d1a4076ea4f422122e187e1bb23092947b8b3328 | |
parent | 682649f37b492a7f016890adaa41e5bf7682748a (diff) |
wlr_scene: Initialize region32 before trying to use it
-rw-r--r-- | wlr_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wlr_scene.c b/wlr_scene.c index 7541aff..102e9e3 100644 --- a/wlr_scene.c +++ b/wlr_scene.c @@ -1497,6 +1497,7 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output) { wlr_renderer_begin(renderer, output->width, output->height); pixman_region32_t background; + pixman_region32_init(&background); pixman_region32_copy(&background, &damage); // Cull areas of the background that are occluded by opaque regions of |