summaryrefslogtreecommitdiffstats
path: root/tests/raytracexx.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-08 17:12:02 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-08 17:12:02 +0000
commitbff7f2b3b440c30d0d6eb692576af57ef42edd1b (patch)
tree0ba45051db1ee7b7808339cfb587f8f76d8c7c5c /tests/raytracexx.cpp
parent14c9cd86e1b7c6ff27c5000d72721c54a718daac (diff)
downloaddimension-bff7f2b3b440c30d0d6eb692576af57ef42edd1b.tar.xz
Comments and style adjustments, and a couple fixes.
Diffstat (limited to 'tests/raytracexx.cpp')
-rw-r--r--tests/raytracexx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/raytracexx.cpp b/tests/raytracexx.cpp
index 3fed923..fd99acd 100644
--- a/tests/raytracexx.cpp
+++ b/tests/raytracexx.cpp
@@ -29,6 +29,7 @@ main() {
resilience(SEVERITY_LOW);
Scene scene = Tests::default_scene();
+ PNG_Writer writer(scene.canvas(), file);
// Render the scene
{
@@ -39,7 +40,6 @@ main() {
// Write the canvas
std::ofstream file("raytracexx.png");
- PNG_Writer writer(scene.canvas(), file);
Progress progress = writer.write_async();
std::cout << "Writing PNG file: " << progress << std::endl;