finderrors.c
changeset 475 ea119c8ce5cd
parent 456 39a9be44129d
child 503 ec8e7739cf5d
equal deleted inserted replaced
474:c2d4e63efdd1 475:ea119c8ce5cd
    94         MOJOSHADER_glDeleteShader(shader);
    94         MOJOSHADER_glDeleteShader(shader);
    95     }
    95     }
    96     #else
    96     #else
    97     const MOJOSHADER_parseData *pd = MOJOSHADER_parse(profile, buf, rc, NULL, 0, NULL, NULL, NULL);
    97     const MOJOSHADER_parseData *pd = MOJOSHADER_parse(profile, buf, rc, NULL, 0, NULL, NULL, NULL);
    98     if (pd->error != NULL)
    98     if (pd->error != NULL)
    99         report("FAIL: %s %s\n", fname, pd->error);
    99         report("FAIL: %s (position %d) %s\n", fname, pd->error_position, pd->error);
   100     else
   100     else
   101         report("PASS: %s\n", fname);
   101         report("PASS: %s\n", fname);
   102     MOJOSHADER_freeParseData(pd);
   102     MOJOSHADER_freeParseData(pd);
   103     #endif
   103     #endif
   104 
   104