From 17beb406f2033ef522b0aebee07bae64317fa8fe Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 30 Apr 2022 10:13:23 -0700 Subject: til_fb: add draw flags for controlling texturability Just adds TIL_FB_DRAW_FLAG_TEXTURABLE so callers can granularly inhibit texturing if desired. --- src/modules/swab/swab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/swab') diff --git a/src/modules/swab/swab.c b/src/modules/swab/swab.c index 8c71049..90f7a36 100644 --- a/src/modules/swab/swab.c +++ b/src/modules/swab/swab.c @@ -127,7 +127,7 @@ static void swab_render_fragment(void *context, unsigned ticks, unsigned cpu, ti color.b = din(ctxt->din, &(v3f_t){ .x = xscaled * .81f, .y = yscaled * .81f, .z = z2 }) * t; pixel = color_to_uint32(color); - til_fb_fragment_put_pixel_unchecked(fragment, x, y, pixel); + til_fb_fragment_put_pixel_unchecked(fragment, 0, x, y, pixel); } } } -- cgit v1.2.3