summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-20 16:25:37 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-20 16:25:37 -0500
commit5ef725abc3a403bd51a061a88d93e9096ddb49bb (patch)
treeb37c8ee9ce7329e0bd2970a2d607a74522e663d8 /libdimension
parent68bf4e11ac1e4f2866a1948406762931d5fd7e9a (diff)
downloaddimension-5ef725abc3a403bd51a061a88d93e9096ddb49bb.tar.xz
Fix progress calculation in raytracing.
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/raytrace.c2
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) {