summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-09 16:17:19 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-09 16:17:19 -0500
commita432d0ec1a03d7821e40f2499bea08f65ee71e6f (patch)
tree198f5c565a78964e692968a346305fc1c1787272 /tests
parent5138e55d3eb41255b1436d40ceba134876c3c5cd (diff)
downloaddimension-a432d0ec1a03d7821e40f2499bea08f65ee71e6f.tar.xz
Use finishes.
Diffstat (limited to 'tests')
-rw-r--r--tests/libdimension/tests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libdimension/tests.c b/tests/libdimension/tests.c
index d79434d..1e8cd5c 100644
--- a/tests/libdimension/tests.c
+++ b/tests/libdimension/tests.c
@@ -30,6 +30,9 @@ dmnsn_new_default_scene()
return NULL;
}
+ /* Default finish */
+ scene->default_texture->finish = dmnsn_new_specular_finish();
+
/* Background color */
dmnsn_sRGB sRGB = { .R = 0.0, .G = 0.0, .B = 0.1 };
scene->background = dmnsn_color_from_sRGB(sRGB);