star-mc

Parallel estimation of Monte Carlo integrators
git clone git://git.meso-star.fr/star-mc.git
Log | Files | Refs | README | LICENSE

commit afb54ecbd8d3dc1e342b880a753e17c0a2a509ab
parent b80ec43a7d9edcadf5b3a22a7d2e2a3176cb3933
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sat, 12 Sep 2015 15:42:52 +0200

Use the new S3D session API

Diffstat:
Msrc/test_smc_light_path.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test_smc_light_path.c b/src/test_smc_light_path.c @@ -370,7 +370,7 @@ main(int argc, char** argv) CHECK(s3d_scene_attach_shape(scn, shape), RES_OK); CHECK(s3d_shape_ref_put(shape), RES_OK); - CHECK(s3d_scene_begin_trace(scn), RES_OK); + CHECK(s3d_scene_begin_session(scn, S3D_TRACE), RES_OK); CHECK(smc_device_create(NULL, &allocator, SMC_NTHREADS_DEFAULT, NULL, &smc), RES_OK); @@ -427,7 +427,7 @@ main(int argc, char** argv) MEM_RM(&allocator, img); } - CHECK(s3d_scene_end_trace(scn), RES_OK); + CHECK(s3d_scene_end_session(scn), RES_OK); CHECK(s3d_device_ref_put(dev), RES_OK); CHECK(s3d_scene_ref_put(scn), RES_OK);