summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/til.c b/src/til.c
index 8451113..ce63b59 100644
--- a/src/til.c
+++ b/src/til.c
@@ -200,7 +200,7 @@ void til_module_render(const til_module_t *module, void *context, unsigned ticks
}
-int til_module_create_context(const til_module_t *module, unsigned ticks, til_setup_t *setup, void **res_context)
+int til_module_create_context(const til_module_t *module, unsigned seed, unsigned ticks, til_setup_t *setup, void **res_context)
{
void *context;
@@ -210,7 +210,7 @@ int til_module_create_context(const til_module_t *module, unsigned ticks, til_se
if (!module->create_context)
return 0;
- context = module->create_context(ticks, til_threads_num_threads(til_threads), setup);
+ context = module->create_context(seed, ticks, til_threads_num_threads(til_threads), setup);
if (!context)
return -ENOMEM;
© All Rights Reserved