summaryrefslogtreecommitdiffstats
path: root/libdimension/gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/gl.c')
-rw-r--r--libdimension/gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/gl.c b/libdimension/gl.c
index f8bdd58..b09509e 100644
--- a/libdimension/gl.c
+++ b/libdimension/gl.c
@@ -41,7 +41,7 @@ dmnsn_gl_optimize_canvas(dmnsn_canvas *canvas)
dmnsn_canvas_optimizer optimizer;
optimizer.optimizer_fn = &dmnsn_gl_optimizer_fn;
- optimizer.free_fn = &free;
+ optimizer.free_fn = &dmnsn_free;
/* Allocate a buffer to hold RGB values */
optimizer.ptr = dmnsn_malloc(4*canvas->x*canvas->y*sizeof(GLushort));