summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-09 23:56:40 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-09 23:56:40 -0700
commit11d07e544c85836bf18cf3b79f9fc3d1f88d070d (patch)
treeab3ed59f9006256492b643c3887c1c419000f0bc /src/main.c
parent26d3f180de32f102ddb4fa3db222690b34128274 (diff)
modules/compose: pass n_cpus to layers/texture context creates
Existing code was passing 0 which turns into the number of cores/threads. That's fine when compose isn't running nested in an already threaded render, but falls down in something like checkers w/fill_module=compose since checkers is already threading. But when checkers creates its fill_module context, it's careful to pass 1 for n_cpus to prevent that kind of thing. With this change that no longer falls apart.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved