diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2019-11-23 16:59:59 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2019-11-23 17:04:45 -0800 |
commit | 6bfd66051632fdb8eca4103df2c3c67492d28af7 (patch) | |
tree | a921e41d24cb1d6a52a158baddf586273b675032 /src/rototiller.c | |
parent | ade362b53d721bc2e2c7a62a30c4345014e5f5ce (diff) |
rototiller: pass cpu to .render_fragment()
Mostly mechanical change, though threads.c needed some jiggering to
make the logical cpu id available to the worker threads.
Now render_fragment() can easily addresss per-cpu data created by
create_context().
Diffstat (limited to 'src/rototiller.c')
-rw-r--r-- | src/rototiller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rototiller.c b/src/rototiller.c index a5d0927..4d6bd79 100644 --- a/src/rototiller.c +++ b/src/rototiller.c @@ -107,7 +107,7 @@ static void module_render_fragment(const rototiller_module_t *module, void *cont } } else if (module->render_fragment) - module->render_fragment(context, fragment); + module->render_fragment(context, 0, fragment); if (module->finish_frame) module->finish_frame(context, fragment); |