diff options
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; |