summaryrefslogtreecommitdiff
path: root/src/modules/sparkler
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sparkler')
-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 0bb0fcf..e2ff76e 100644
--- a/src/modules/sparkler/sparkler.c
+++ b/src/modules/sparkler/sparkler.c
@@ -35,7 +35,7 @@ static void sparkler(fb_fragment_t *fragment)
initialized = 1;
}
- memset(buf, 0, ((fragment->width << 2) + fragment->stride) * fragment->height);
+ fb_fragment_zero(fragment);
particles_age(particles);
particles_draw(particles, fragment);
© All Rights Reserved