diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-04-21 14:42:14 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-04-22 07:36:26 -0700 |
commit | 406495a01b1de41abc1b9240096da3741155b6fd (patch) | |
tree | d2c1e11e4f2cc94fb4dc6d8dc4d08aff2b6a67a2 /src/modules/sparkler/sparkler.c | |
parent | f1557bea361602224f07965b8292b694ef570690 (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/sparkler/sparkler.c')
-rw-r--r-- | src/modules/sparkler/sparkler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c index 36aabff..67d68cf 100644 --- a/src/modules/sparkler/sparkler.c +++ b/src/modules/sparkler/sparkler.c @@ -20,7 +20,7 @@ extern particle_ops_t simple_ops; /* Render a 3D particle system */ -static void sparkler(fb_fragment_t *fragment) +static void sparkler_render_fragment(fb_fragment_t *fragment) { static particles_t *particles; static int initialized; @@ -45,7 +45,7 @@ static void sparkler(fb_fragment_t *fragment) rototiller_module_t sparkler_module = { - .render = sparkler, + .render_fragment = sparkler_render_fragment, .name = "sparkler", .description = "Particle system with spatial interactions", .author = "Vito Caputo <vcaputo@pengaru.com>", |