summaryrefslogtreecommitdiff
path: root/src/modules/stars
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/stars')
-rw-r--r--src/modules/stars/stars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/stars/stars.c b/src/modules/stars/stars.c
index 0f6c2d5..2ff9b99 100644
--- a/src/modules/stars/stars.c
+++ b/src/modules/stars/stars.c
@@ -37,7 +37,7 @@ static void stars(fb_fragment_t *fragment)
}
// draw space (or blank the frame, if you prefer)
- memset(fragment->buf, 0, ((fragment->width << 2) + fragment->stride) * fragment->height);
+ fb_fragment_zero(fragment);
// draw stars
for (;;) {
© All Rights Reserved