aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r--render/wlr_renderer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index 1fc23657..ac20dd7b 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -37,6 +37,9 @@ void wlr_renderer_destroy(struct wlr_renderer *r) {
if (!r) {
return;
}
+
+ assert(!r->rendering);
+
wlr_signal_emit_safe(&r->events.destroy, r);
if (r->impl && r->impl->destroy) {