From dede4eca3e2fca76f297b5f5b901434cb99eafb0 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 11 May 2023 11:10:48 -0700 Subject: til_module_context: reference setup from module context This just does the obvious pulling in of til_setup_t, holding the reference throughout the lifetime of the module context. --- src/modules/roto/roto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/roto/roto.c') diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c index 3883ce5..1838f62 100644 --- a/src/modules/roto/roto.c +++ b/src/modules/roto/roto.c @@ -73,7 +73,7 @@ static til_module_context_t * roto_create_context(const til_module_t *module, ti init_roto(texture, costab, sintab); } - ctxt = til_module_context_new(module, sizeof(roto_context_t), stream, seed, ticks, n_cpus, path); + ctxt = til_module_context_new(module, sizeof(roto_context_t), stream, seed, ticks, n_cpus, path, setup); if (!ctxt) return NULL; -- cgit v1.2.1