summaryrefslogtreecommitdiff
path: root/src/modules/pixbounce/pixbounce.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/pixbounce/pixbounce.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/pixbounce/pixbounce.c')
-rw-r--r--src/modules/pixbounce/pixbounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/pixbounce/pixbounce.c b/src/modules/pixbounce/pixbounce.c
index e864763..b8b2572 100644
--- a/src/modules/pixbounce/pixbounce.c
+++ b/src/modules/pixbounce/pixbounce.c
@@ -218,7 +218,7 @@ static void pixbounce_render_fragment(void *context, unsigned ticks, unsigned cp
int pix_offset = ((cursor_y/ctxt->multiplier)*pix_width) + (cursor_x/ctxt->multiplier);
if(pix_map[ctxt->pix_num][pix_offset] == 0) continue;
til_fb_fragment_put_pixel_unchecked(
- fragment, ctxt->x+cursor_x, ctxt->y+cursor_y,
+ fragment, TIL_FB_DRAW_FLAG_TEXTURABLE, ctxt->x+cursor_x, ctxt->y+cursor_y,
ctxt->color
);
}
© All Rights Reserved