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/sparkler/sparkler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/sparkler') 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 ", -- cgit v1.2.3