diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 15:20:58 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 16:07:33 -0500 |
commit | 5138e55d3eb41255b1436d40ceba134876c3c5cd (patch) | |
tree | 5a3e00248c328b097c4b71e225c597d19a372363 /libdimension/scene.c | |
parent | 319491781c1389d82897075b6d890e74d82a08a9 (diff) | |
download | dimension-5138e55d3eb41255b1436d40ceba134876c3c5cd.tar.xz |
Add support for finishes (BRDFs).
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r-- | libdimension/scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c index 65362a5..38b1d19 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -27,7 +27,7 @@ dmnsn_new_scene() { dmnsn_scene *scene = malloc(sizeof(dmnsn_scene)); if (scene) { - scene->default_texture = NULL; + scene->default_texture = dmnsn_new_texture(); scene->camera = NULL; scene->canvas = NULL; |