summaryrefslogtreecommitdiffstats
path: root/libdimension/gl.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-18 00:35:48 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-18 00:35:48 -0400
commitedd9417a808d72be2eab581a920eea7febe6430c (patch)
treedfdafbcb975a50d202ee439e8885e8a824298689 /libdimension/gl.c
parent8e4819c2f3c0d36865bf20a55f54c0a6c7fd4e74 (diff)
downloaddimension-edd9417a808d72be2eab581a920eea7febe6430c.tar.xz
Missed some free() -> dmnsn_free() conversions.
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));