summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/sparkler/sparkler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sparkler/sparkler.c b/modules/sparkler/sparkler.c
index de2123e..0bb0fcf 100644
--- a/modules/sparkler/sparkler.c
+++ b/modules/sparkler/sparkler.c
@@ -35,9 +35,9 @@ static void sparkler(fb_fragment_t *fragment)
initialized = 1;
}
- particles_age(particles);
memset(buf, 0, ((fragment->width << 2) + fragment->stride) * fragment->height);
+ particles_age(particles);
particles_draw(particles, fragment);
particles_sim(particles);
particles_add_particles(particles, NULL, &simple_ops, INIT_PARTS / 4);
© All Rights Reserved