summaryrefslogtreecommitdiffstats
path: root/libdimension/raytrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/raytrace.c')
-rw-r--r--libdimension/raytrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/raytrace.c b/libdimension/raytrace.c
index a85d8e6..9d6397e 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -140,7 +140,7 @@ dmnsn_raytrace_scene_multithread(dmnsn_raytrace_payload *payload)
payloads[i].index = i;
payloads[i].threads = nthreads;
if (i > 0) {
- payloads[i].bvst = dmnsn_bvst_copy(payloads[0].bvst);
+ payloads[i].bvst = dmnsn_copy_bvst(payloads[0].bvst);
}
}