summaryrefslogtreecommitdiffstats
path: root/libdimension/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/tests')
-rw-r--r--libdimension/tests/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/tests/render.c b/libdimension/tests/render.c
index de5b6a4..85742d0 100644
--- a/libdimension/tests/render.c
+++ b/libdimension/tests/render.c
@@ -88,7 +88,7 @@ dmnsn_new_test_scene(void)
dmnsn_new_vector(-15.0, 20.0, 10.0),
dmnsn_white
);
- dmnsn_array_push(scene->lights, &light);
+ dmnsn_scene_add_light(scene, light);
/* Now make our objects */