summaryrefslogtreecommitdiffstats
path: root/libdimension/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/tests')
-rw-r--r--libdimension/tests/render.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c
index e9dff2a..577fa6a 100644
--- a/libdimension/tests/render.c
+++ b/libdimension/tests/render.c
@@ -115,11 +115,9 @@ dmnsn_test_scene_add_hollow_cube(dmnsn_scene *scene)
cube->texture = dmnsn_new_texture();
cube->texture->pigment = dmnsn_new_solid_pigment(cube_color);
- dmnsn_color reflect = dmnsn_color_from_sRGB(
- dmnsn_color_mul(0.5, dmnsn_white)
- );
+ dmnsn_color reflect = dmnsn_color_mul(0.5, dmnsn_white);
cube->texture->finish.reflection
- = dmnsn_new_basic_reflection(reflect, reflect, 1.0);
+ = dmnsn_new_basic_reflection(dmnsn_black, reflect, 1.0);
cube->interior = dmnsn_new_interior();
cube->interior->ior = 1.1;