diff options
Diffstat (limited to 'src/modules/swarm')
-rw-r--r-- | src/modules/swarm/swarm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/swarm/swarm.c b/src/modules/swarm/swarm.c index 0c58bf9..c896735 100644 --- a/src/modules/swarm/swarm.c +++ b/src/modules/swarm/swarm.c @@ -401,9 +401,10 @@ static void swarm_draw_as_lines(swarm_context_t *ctxt, til_fb_fragment_t *fragme } -static void swarm_render_fragment(til_module_context_t *context, unsigned ticks, unsigned cpu, til_fb_fragment_t *fragment) +static void swarm_render_fragment(til_module_context_t *context, unsigned ticks, unsigned cpu, til_fb_fragment_t **fragment_ptr) { - swarm_context_t *ctxt = (swarm_context_t *)context; + swarm_context_t *ctxt = (swarm_context_t *)context; + til_fb_fragment_t *fragment = *fragment_ptr; swarm_update(ctxt, ticks); |