summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-18 23:30:38 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-18 23:30:38 -0500
commit5038d1f96af332e474a1e0a076bf5dead6855727 (patch)
tree128921e3bbdc29046695ac4d9c9fb8d7535bc49a /tests
parentc576229cc54c0fb963967751281e6a42fc9230ea (diff)
downloaddimension-5038d1f96af332e474a1e0a076bf5dead6855727.tar.xz
Translucency support.
Diffstat (limited to 'tests')
-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;