mojoshader_opengl.c
changeset 553 288ed486e5c3
parent 537 00a1deb5d3d0
child 581 53ef64f219a2
--- a/mojoshader_opengl.c	Thu Feb 05 12:39:19 2009 -0500
+++ b/mojoshader_opengl.c	Sat Feb 07 00:35:17 2009 -0500
@@ -939,8 +939,8 @@
     MOJOSHADER_glContext *current_ctx = ctx;
     ctx = NULL;
 
-    if (m == NULL) m = internal_malloc;
-    if (f == NULL) f = internal_free;
+    if (m == NULL) m = MOJOSHADER_internal_malloc;
+    if (f == NULL) f = MOJOSHADER_internal_free;
 
     ctx = (MOJOSHADER_glContext *) m(sizeof (MOJOSHADER_glContext), d);
     if (ctx == NULL)