summaryrefslogtreecommitdiff
path: root/src/modules/moire
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-06-09 22:40:06 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-06-10 21:17:22 -0700
commitb437600c820f489049c022d2c4697226cf8d68fc (patch)
treeba115db92719bd707aa7553495278587f1474c33 /src/modules/moire
parent156bad78f27813934d897518f0d6ea8748be9e47 (diff)
til: add ticks to til_module_context_t
Also wire this up to the til_module_context_new() helper and all its callers. This is in preparation for modules doing more correct delta-T derived animation.
Diffstat (limited to 'src/modules/moire')
-rw-r--r--src/modules/moire/moire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/moire/moire.c b/src/modules/moire/moire.c
index 1678170..e16a8ab 100644
--- a/src/modules/moire/moire.c
+++ b/src/modules/moire/moire.c
@@ -54,7 +54,7 @@ static til_module_context_t * moire_create_context(unsigned seed, unsigned ticks
if (!setup)
setup = &moire_default_setup.til_setup;
- ctxt = til_module_context_new(sizeof(moire_context_t) + ((moire_setup_t *)setup)->n_centers * sizeof(moire_center_t), seed, n_cpus);
+ ctxt = til_module_context_new(sizeof(moire_context_t) + ((moire_setup_t *)setup)->n_centers * sizeof(moire_center_t), seed, ticks, n_cpus);
if (!ctxt)
return NULL;
© All Rights Reserved