mojoshader_effects.c
changeset 1164 006194daea99
parent 1156 6e760a19f456
child 1165 0249808e3444
--- a/mojoshader_effects.c	Sat May 28 11:55:07 2016 -0400
+++ b/mojoshader_effects.c	Sat May 28 15:58:05 2016 -0400
@@ -1041,7 +1041,7 @@
          || object->type == MOJOSHADER_SYMTYPE_VERTEXSHADER)
         {
             if (object->shader.is_preshader)
-                MOJOSHADER_freePreshader(object->shader.preshader, f, d);
+                MOJOSHADER_freePreshader(object->shader.preshader);
             else
                 MOJOSHADER_freeParseData(object->shader.shader);
             f((void *) object->shader.params, d);