From 5ef725abc3a403bd51a061a88d93e9096ddb49bb Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 20 Nov 2009 16:25:37 -0500 Subject: Fix progress calculation in raytracing. --- libdimension/raytrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c index b37dff3..71e60cd 100644 --- a/libdimension/raytrace.c +++ b/libdimension/raytrace.c @@ -136,7 +136,7 @@ dmnsn_raytrace_scene_multithread(dmnsn_raytrace_payload *payload) /* Set up the progress object */ dmnsn_new_progress_element(payload->progress, - nthreads*payload->scene->canvas->y); + payload->scene->canvas->y); /* Create the payloads */ for (i = 0; i < nthreads; ++i) { -- cgit v1.2.3