diff options
Diffstat (limited to 'tests/tests.c')
-rw-r--r-- | tests/tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c index ed00b64..f8c02de 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -65,12 +65,13 @@ dmnsn_new_default_scene() ); /* Create a perspective camera */ - scene->camera = dmnsn_new_perspective_camera(trans); + scene->camera = dmnsn_new_perspective_camera(); if (!scene->camera) { dmnsn_delete_canvas(scene->canvas); dmnsn_delete_scene(scene); return NULL; } + dmnsn_set_perspective_camera_trans(scene->camera, trans); /* Now make our objects */ |