summaryrefslogtreecommitdiffstats
path: root/libdimension/raytrace.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-08 00:17:34 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-08 00:20:03 -0500
commit4e38691f65d2f780910b2440393811d908ada534 (patch)
treee6635cb322f2cd198a4d43416a914677be751583 /libdimension/raytrace.c
parent9ec20f9888ded5ef9c21f91af26e492c958784b9 (diff)
downloaddimension-4e38691f65d2f780910b2440393811d908ada534.tar.xz
Kill DMNSN_RENDER_OBJECTS.
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 6d9d0d9..f37c3a7 100644
--- a/libdimension/raytrace.c
+++ b/libdimension/raytrace.c
@@ -248,7 +248,7 @@ dmnsn_raytrace_scene_impl(dmnsn_progress *progress, dmnsn_scene *scene,
/* Set the pixel to the background color */
dmnsn_color color = scene->background;
- if (scene->quality & DMNSN_RENDER_OBJECTS) {
+ if (scene->quality) {
/* Get the ray corresponding to the (x,y)'th pixel */
dmnsn_line ray = (*scene->camera->ray_fn)(
scene->camera,