summaryrefslogtreecommitdiff
path: root/src/modules/julia
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-04-21 14:42:14 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-04-22 07:36:26 -0700
commit406495a01b1de41abc1b9240096da3741155b6fd (patch)
treed2c1e11e4f2cc94fb4dc6d8dc4d08aff2b6a67a2 /src/modules/julia
parentf1557bea361602224f07965b8292b694ef570690 (diff)
*: /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.
Diffstat (limited to 'src/modules/julia')
-rw-r--r--src/modules/julia/julia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/julia/julia.c b/src/modules/julia/julia.c
index f8072a8..9e3dba2 100644
--- a/src/modules/julia/julia.c
+++ b/src/modules/julia/julia.c
@@ -35,7 +35,7 @@ static inline unsigned julia_iter(float real, float imag, float creal, float cim
}
/* Draw a morphing Julia set */
-static void julia(fb_fragment_t *fragment)
+static void julia_render_fragment(fb_fragment_t *fragment)
{
static uint32_t colors[] = {
/* this palette is just something I slapped together, definitely needs improvement. TODO */
@@ -109,7 +109,7 @@ static void julia(fb_fragment_t *fragment)
}
rototiller_module_t julia_module = {
- .render = julia,
+ .render_fragment = julia_render_fragment,
.name = "julia",
.description = "Julia set fractal morpher",
.author = "Vito Caputo <vcaputo@pengaru.com>",
© All Rights Reserved