summaryrefslogtreecommitdiffstats
path: root/libdimension/perspective.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/perspective.c')
-rw-r--r--libdimension/perspective.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/perspective.c b/libdimension/perspective.c
index 02f6c7c..cc602eb 100644
--- a/libdimension/perspective.c
+++ b/libdimension/perspective.c
@@ -41,7 +41,7 @@ dmnsn_new_perspective_camera()
*ptr = dmnsn_identity_matrix();
camera->ray_fn = &dmnsn_perspective_camera_ray_fn;
- camera->free_fn = &free;
+ camera->free_fn = &dmnsn_free;
camera->ptr = ptr;
return camera;