From de6297c0c809d742d6d6c105bbbcb31187c64a14 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 5 Aug 2023 01:02:53 -0700 Subject: modules/rkt: simplify setup finalizing via setup->creator This gets rid of the ad-hoc module lookups previously necessary for finalizing the nested module setups. Now that the til_estup_t.creator tracks the creating module, the rkt_scene_module_setup() wrapper can take care of finalizing. --- src/modules/rkt/rkt.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/modules/rkt/rkt.h') diff --git a/src/modules/rkt/rkt.h b/src/modules/rkt/rkt.h index e5ed4dc..cff768c 100644 --- a/src/modules/rkt/rkt.h +++ b/src/modules/rkt/rkt.h @@ -36,7 +36,6 @@ typedef struct rkt_context_t { } rkt_context_t; typedef struct rkt_setup_scene_t { - const til_module_t *module; til_setup_t *setup; /* Baked setup as-configured via setup. */ } rkt_setup_scene_t; -- cgit v1.2.1