diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-20 16:25:37 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-20 16:25:37 -0500 |
commit | 5ef725abc3a403bd51a061a88d93e9096ddb49bb (patch) | |
tree | b37c8ee9ce7329e0bd2970a2d607a74522e663d8 /libdimension | |
parent | 68bf4e11ac1e4f2866a1948406762931d5fd7e9a (diff) | |
download | dimension-5ef725abc3a403bd51a061a88d93e9096ddb49bb.tar.xz |
Fix progress calculation in raytracing.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/raytrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |