utils/testparse.c
changeset 1104 9147482e1ec7
parent 1090 636ffcd3f14a
child 1150 02c0f0afb39a
--- a/utils/testparse.c	Sat May 19 01:56:29 2012 -0400
+++ b/utils/testparse.c	Tue May 29 02:43:24 2012 -0400
@@ -482,7 +482,8 @@
          (buf[2] == 0xFF) && (buf[3] == 0xFE) )
     {
         const MOJOSHADER_effect *effect;
-        effect = MOJOSHADER_parseEffect(prof, buf, len, 0, 0, Malloc, Free, 0);
+        effect = MOJOSHADER_parseEffect(prof, buf, len, NULL, 0,
+                                        NULL, 0, Malloc, Free, 0);
         retval = (effect->error_count == 0);
         printf("EFFECT: %s\n", fname);
         print_effect(fname, effect, 1);
@@ -492,7 +493,8 @@
     else  // do it as a regular compiled shader.
     {
         const MOJOSHADER_parseData *pd;
-        pd = MOJOSHADER_parse(prof, buf, len, NULL, 0, Malloc, Free, NULL);
+        pd = MOJOSHADER_parse(prof, buf, len, NULL, 0,
+                              NULL, 0, Malloc, Free, NULL);
         retval = (pd->error_count == 0);
         printf("SHADER: %s\n", fname);
         print_shader(fname, pd, 1);