summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-09 15:20:58 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-09 16:07:33 -0500
commit5138e55d3eb41255b1436d40ceba134876c3c5cd (patch)
tree5a3e00248c328b097c4b71e225c597d19a372363 /libdimension/scene.c
parent319491781c1389d82897075b6d890e74d82a08a9 (diff)
downloaddimension-5138e55d3eb41255b1436d40ceba134876c3c5cd.tar.xz
Add support for finishes (BRDFs).
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c2
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;