From d669f045808a6cfe74498aff0a9428dee6c57a51 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 9 Feb 2025 14:58:14 +1100 Subject: device debugger --- c2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c2.cpp') diff --git a/c2.cpp b/c2.cpp index 0beec9d..c98f5b9 100644 --- a/c2.cpp +++ b/c2.cpp @@ -711,7 +711,7 @@ struct C2 : public App { world = (World*)arena_alloc(arena, sizeof *world); world->init(arena); ui = UI::create(this, &ui_arena); - init_editor(ui, world); + init_editor(dev, ui, world); lr.init(dev, &assets); assert(per_frame != 0); vbo = upload_verts(dev); @@ -843,8 +843,8 @@ struct C2 : public App { Context& ctx = dev->get_ctx(); - ctx.debug_push("autism triangle"); ctx.submit(draw, pip, pass); + ctx.debug_push("autism triangle"); ctx.debug_pop(); pb.begin_rp(); -- cgit v1.2.3-54-g00ecf