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/ray/ray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/ray') diff --git a/src/modules/ray/ray.c b/src/modules/ray/ray.c index 1652aa2..a0613e8 100644 --- a/src/modules/ray/ray.c +++ b/src/modules/ray/ray.c @@ -14,7 +14,7 @@ /* Copyright (C) 2016-2017 Vito Caputo */ /* ray trace a simple scene into the fragment */ -static void ray(fb_fragment_t *fragment) +static void ray_render_fragment(fb_fragment_t *fragment) { static ray_object_t objects[] = { { @@ -167,7 +167,7 @@ static void ray(fb_fragment_t *fragment) rototiller_module_t ray_module = { - .render = ray, + .render_fragment = ray_render_fragment, .name = "ray", .description = "Multi-threaded ray tracer", .author = "Vito Caputo ", -- cgit v1.2.1