summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension/tests.c')
-rw-r--r--tests/libdimension/tests.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c
index b2670f8..c0bd11f 100644
--- a/tests/libdimension/tests.c
+++ b/tests/libdimension/tests.c
@@ -109,7 +109,10 @@ dmnsn_new_default_scene()
return NULL;
}
- cube->texture->pigment = dmnsn_new_solid_pigment(dmnsn_magenta);
+ dmnsn_color cube_color = dmnsn_magenta;
+ cube_color.filter = 0.25;
+ cube_color.trans = 0.25;
+ cube->texture->pigment = dmnsn_new_solid_pigment(cube_color);
if (!cube->texture->pigment) {
dmnsn_delete_scene(scene);
return NULL;