summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/raytracexx.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/raytracexx.cpp b/tests/raytracexx.cpp
index e3d55cf..c04e525 100644
--- a/tests/raytracexx.cpp
+++ b/tests/raytracexx.cpp
@@ -59,7 +59,8 @@ main() {
// Render the scene
{
- Progress rprogress = scene.raytrace_async();
+ Raytracer raytracer(scene);
+ Progress rprogress = raytracer.render_async();
std::cout << "Raytracing scene: " << rprogress << std::endl;
}