summaryrefslogtreecommitdiff
path: root/aa.h
diff options
context:
space:
mode:
Diffstat (limited to 'aa.h')
-rw-r--r--aa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/aa.h b/aa.h
index 769eb31..988a2f7 100644
--- a/aa.h
+++ b/aa.h
@@ -64,7 +64,7 @@ public:
tim.start_measure();
for (typeof(samples) i = 0; i < samples; ++i) {
pool.submit_task([](s_render_task &task) {
- bias_ctx bc{seed};
+ bias_ctx bc{task.seed};
auto image = task.shared.subs[task.task_id].render(
task.shared.world, task.shared.viewpoint,
task.shared.image_width, task.shared.image_height,