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 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,