From 304e0524e9cb2298acad1673656dd5c266c13817 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 --- wlr_scene.c | 1 + 1 file changed, 1 insertion(+) (limited to 'wlr_scene.c') 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 -- cgit v1.2.3