summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-09-26 18:55:13 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-09-26 18:55:13 -0700
commitf5ef810bac18a3443d1a2cf62a16a1c72f25b08a (patch)
tree7a92403b3069c9209cb59ea13531b4cb8d753ffa
parent3fc9031e6b10f6accceb7c00f368e34045bbaca7 (diff)
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.
-rw-r--r--src/modules/montage/montage.c2
1 files changed, 1 insertions, 1 deletions
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;
© All Rights Reserved