summaryrefslogtreecommitdiff
path: root/src/modules/stars/stars.c
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/stars/stars.c
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/stars/stars.c')
-rw-r--r--src/modules/stars/stars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/stars/stars.c b/src/modules/stars/stars.c
index 61f652e..f624a62 100644
--- a/src/modules/stars/stars.c
+++ b/src/modules/stars/stars.c
@@ -13,7 +13,7 @@
/* Copyright (C) 2017 Philip J. Freeman <elektron@halo.nu> */
-static void stars(fb_fragment_t *fragment)
+static void stars_render_fragment(fb_fragment_t *fragment)
{
static int initialized, z;
static struct universe* u;
@@ -55,7 +55,7 @@ static void stars(fb_fragment_t *fragment)
}
rototiller_module_t stars_module = {
- .render = stars,
+ .render_fragment = stars_render_fragment,
.name = "stars",
.description = "basic starfield",
.author = "Philip J Freeman <elektron@halo.nu>",
© All Rights Reserved