From ee66760b6327224690f73efdcd00f9fbf85eb51a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Thu, 18 May 2023 19:00:56 +0100 Subject: [PATCH] c/main: Log assert case --- src/xrt/compositor/main/comp_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/compositor/main/comp_renderer.c b/src/xrt/compositor/main/comp_renderer.c index 0e0a77f1c..a08bac8d5 100644 --- a/src/xrt/compositor/main/comp_renderer.c +++ b/src/xrt/compositor/main/comp_renderer.c @@ -948,7 +948,7 @@ dispatch_graphics(struct comp_renderer *r, struct render_gfx *rr) comp_target_mark_submit(ct, c->frame.rendering.id, os_monotonic_get_ns()); } break; - default: assert(false); + default: COMP_ERROR(c, "Unhandled case: '%u'", layer->data.type); assert(false); } }