From d3cb6b73a2733d8457a8be2593a42942b36b77e2 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Mon, 22 Aug 2022 14:45:30 -0400 Subject: wlr_scene: Initialize region32 before trying to use it --- types/scene/wlr_scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/types/scene/wlr_scene.c b/types/scene/wlr_scene.c index 7541affc..102e9e3a 100644 --- a/types/scene/wlr_scene.c +++ b/types/scene/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 -- cgit v1.2.3