summaryrefslogtreecommitdiff
path: root/src/til_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/til_threads.c')
-rw-r--r--src/til_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/til_threads.c b/src/til_threads.c
index a3f6f7e..bb19b05 100644
--- a/src/til_threads.c
+++ b/src/til_threads.c
@@ -64,7 +64,7 @@ static void * thread_func(void *_thread)
frag_num = __sync_fetch_and_add(&threads->next_fragment, 1);
- if (!threads->fragmenter(threads->context, threads->fragment, frag_num, &fragment))
+ if (!threads->fragmenter(threads->context, threads->n_threads, threads->fragment, frag_num, &fragment))
break;
threads->render_fragment_func(threads->context, threads->ticks, thread->id, &fragment);
© All Rights Reserved