summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/rocket.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-30 10:13:23 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-01 21:02:44 -0700
commit17beb406f2033ef522b0aebee07bae64317fa8fe (patch)
tree0b19666754b4b47a68d9a803060367c3b4876475 /src/modules/sparkler/rocket.c
parenta59229c5513e73348c87bcfc5cc4b39a31012437 (diff)
til_fb: add draw flags for controlling texturability
Just adds TIL_FB_DRAW_FLAG_TEXTURABLE so callers can granularly inhibit texturing if desired.
Diffstat (limited to 'src/modules/sparkler/rocket.c')
-rw-r--r--src/modules/sparkler/rocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sparkler/rocket.c b/src/modules/sparkler/rocket.c
index 3885304..0949d30 100644
--- a/src/modules/sparkler/rocket.c
+++ b/src/modules/sparkler/rocket.c
@@ -129,7 +129,7 @@ static void rocket_draw(particles_t *particles, const particles_conf_t *conf, pa
/* kill off parts that wander off screen */
return;
- til_fb_fragment_put_pixel_unchecked(f, x, y, 0xff0000);
+ til_fb_fragment_put_pixel_unchecked(f, 0, x, y, 0xff0000);
}
© All Rights Reserved