diff options
Diffstat (limited to 'src/modules/swarm')
-rw-r--r-- | src/modules/swarm/swarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/swarm/swarm.c b/src/modules/swarm/swarm.c index 8ff4812..ffaaa1d 100644 --- a/src/modules/swarm/swarm.c +++ b/src/modules/swarm/swarm.c @@ -170,7 +170,7 @@ static inline uint32_t color_to_uint32(v3f_t color) { } -static void * swarm_create_context(unsigned ticks, unsigned num_cpus) +static void * swarm_create_context(unsigned ticks, unsigned num_cpus, void *setup) { swarm_context_t *ctxt; @@ -408,7 +408,7 @@ static void swarm_render_fragment(void *context, unsigned ticks, unsigned cpu, t } -static int swarm_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc) +static int swarm_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, void **res_setup) { const char *styles[] = { "points", |