diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 16:17:19 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 16:17:19 -0500 |
commit | a432d0ec1a03d7821e40f2499bea08f65ee71e6f (patch) | |
tree | 198f5c565a78964e692968a346305fc1c1787272 /tests | |
parent | 5138e55d3eb41255b1436d40ceba134876c3c5cd (diff) | |
download | dimension-a432d0ec1a03d7821e40f2499bea08f65ee71e6f.tar.xz |
Use finishes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libdimension/tests.c | 3 |
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); |