diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-20 21:31:28 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-20 21:31:28 +0000 |
commit | 6e43b81bdbd2b2dc87b52219df0699b75e8a6c27 (patch) | |
tree | f9dfc96900859f58a46b90225911c88113cde19f /libdimension | |
parent | 95895823f75108cbfed2697498e4e097f493b236 (diff) | |
download | dimension-6e43b81bdbd2b2dc87b52219df0699b75e8a6c27.tar.xz |
More memory handling improvements.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/scene.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c index 59a1eb9..3629c8e 100644 --- a/libdimension/scene.c +++ b/libdimension/scene.c @@ -27,6 +27,8 @@ dmnsn_new_scene() { dmnsn_scene *scene = malloc(sizeof(dmnsn_scene)); if (scene) { + scene->camera = NULL; + scene->canvas = NULL; scene->default_texture = NULL; scene->objects = dmnsn_new_array(sizeof(dmnsn_object*)); scene->quality = DMNSN_RENDER_FULL; |