From 406495a01b1de41abc1b9240096da3741155b6fd Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 21 Apr 2017 14:42:14 -0700 Subject: *: /render/render_fragment/ in rototiller_module_t Adding more context to the name in anticipation of adding a prepare_frame() method to the module struct. --- src/modules/roto/roto.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/roto/roto.c') diff --git a/src/modules/roto/roto.c b/src/modules/roto/roto.c index c44d624..45b8700 100644 --- a/src/modules/roto/roto.c +++ b/src/modules/roto/roto.c @@ -149,7 +149,7 @@ static void init_roto(uint8_t texture[256][256], int32_t *costab, int32_t *sinta /* Draw a rotating checkered 256x256 texture into fragment. (32-bit version) */ -static void roto32(fb_fragment_t *fragment) +static void roto32_render_fragment(fb_fragment_t *fragment) { static int32_t costab[FIXED_TRIG_LUT_SIZE], sintab[FIXED_TRIG_LUT_SIZE]; static uint8_t texture[256][256]; @@ -213,7 +213,7 @@ static void roto32(fb_fragment_t *fragment) /* Draw a rotating checkered 256x256 texture into fragment. (64-bit version) */ -static void roto64(fb_fragment_t *fragment) +static void roto64_render_fragment(fb_fragment_t *fragment) { static int32_t costab[FIXED_TRIG_LUT_SIZE], sintab[FIXED_TRIG_LUT_SIZE]; static uint8_t texture[256][256]; @@ -288,7 +288,7 @@ static void roto64(fb_fragment_t *fragment) rototiller_module_t roto32_module = { - .render = roto32, + .render_fragment = roto32_render_fragment, .name = "roto32", .description = "Anti-aliased tiled texture rotation (32-bit)", .author = "Vito Caputo ", @@ -297,7 +297,7 @@ rototiller_module_t roto32_module = { rototiller_module_t roto64_module = { - .render = roto64, + .render_fragment = roto64_render_fragment, .name = "roto64", .description = "Anti-aliased tiled texture rotation (64-bit)", .author = "Vito Caputo ", -- cgit v1.2.1