summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/sparkler.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-03-29 18:44:08 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-09-11 01:05:40 -0700
commite34d928d56debcb6dbdc4f16335ece59209b5e27 (patch)
tree6aad462dc06b02933dba441abc92cd0dd3c29cd2 /src/modules/sparkler/sparkler.c
parent521da365b17aaf861af33bcc3c79ffedf1a77cf0 (diff)
modules/sparkler: add particles conf parameter
Just stubbed out for now, wanting to restore some octree overlays like the old standalone sparkler had. Those can be wired up to settings so rtv can occasionally show the spatial partition and matched particles.
Diffstat (limited to 'src/modules/sparkler/sparkler.c')
-rw-r--r--src/modules/sparkler/sparkler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c
index 7c1c2f1..bdee130 100644
--- a/src/modules/sparkler/sparkler.c
+++ b/src/modules/sparkler/sparkler.c
@@ -38,7 +38,7 @@ static void * sparkler_create_context(unsigned ticks, unsigned num_cpus)
if (!ctxt)
return NULL;
- ctxt->particles = particles_new();
+ ctxt->particles = particles_new(NULL);
if (!ctxt->particles) {
free(ctxt);
return NULL;
© All Rights Reserved