From f5ef810bac18a3443d1a2cf62a16a1c72f25b08a Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 26 Sep 2020 18:55:13 -0700 Subject: modules/montage: pass 1 for num_cpus when creating contexts This module needs some love, but it already always supplies 1 to the open-coded rendering for the tiles. It never should have been supplying the real num_cpus to module.create_context(), then only supplying 1 for rendering. --- src/modules/montage/montage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/montage') diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c index 99c3e66..2127065 100644 --- a/src/modules/montage/montage.c +++ b/src/modules/montage/montage.c @@ -81,7 +81,7 @@ static void * montage_create_context(unsigned ticks, unsigned num_cpus) const rototiller_module_t *module = ctxt->modules[i]; if (module->create_context) /* FIXME errors */ - ctxt->contexts[i] = module->create_context(ticks, num_cpus); + ctxt->contexts[i] = module->create_context(ticks, 1); } return ctxt; -- cgit v1.2.1