diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 18:25:02 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 18:25:02 +0000 |
commit | 7e7ec10dea751540eda7898cf83f8471185aa063 (patch) | |
tree | f931c67a40318dc85faa48fa7655d6d29cd567e8 /libdimension/scene.c | |
parent | 90564274757e489429daf8bcdb92009563fd2efd (diff) | |
download | dimension-7e7ec10dea751540eda7898cf83f8471185aa063.tar.xz |
Add support for default textures.
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r-- | libdimension/scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c index 7e24403..59a1eb9 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -27,6 +27,7 @@ dmnsn_new_scene() { dmnsn_scene *scene = malloc(sizeof(dmnsn_scene)); if (scene) { + scene->default_texture = NULL; scene->objects = dmnsn_new_array(sizeof(dmnsn_object*)); scene->quality = DMNSN_RENDER_FULL; } |