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/plasma/plasma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/plasma') diff --git a/src/modules/plasma/plasma.c b/src/modules/plasma/plasma.c index 211a032..26b38c2 100644 --- a/src/modules/plasma/plasma.c +++ b/src/modules/plasma/plasma.c @@ -41,7 +41,7 @@ static void init_plasma(int32_t *costab, int32_t *sintab) /* Draw a plasma effect */ -static void plasma(fb_fragment_t *fragment) +static void plasma_render_fragment(fb_fragment_t *fragment) { static int32_t costab[FIXED_TRIG_LUT_SIZE], sintab[FIXED_TRIG_LUT_SIZE]; static int initialized; @@ -118,7 +118,7 @@ static void plasma(fb_fragment_t *fragment) } rototiller_module_t plasma_module = { - .render = plasma, + .render_fragment = plasma_render_fragment, .name = "plasma", .description = "Oldskool plasma effect", .author = "Vito Caputo ", -- cgit v1.2.1