utils/finderrors.c
changeset 1104 9147482e1ec7
parent 956 7888858a6777
child 1117 f6712bf72c19
equal deleted inserted replaced
1103:8b7c29c019d5 1104:9147482e1ec7
   110         memcpy(buf, a->output, rc);
   110         memcpy(buf, a->output, rc);
   111         MOJOSHADER_freeParseData(a);
   111         MOJOSHADER_freeParseData(a);
   112     } // if
   112     } // if
   113 
   113 
   114     #if FINDERRORS_COMPILE_SHADERS
   114     #if FINDERRORS_COMPILE_SHADERS
   115     MOJOSHADER_glShader *shader = MOJOSHADER_glCompileShader(buf, rc, NULL, 0);
   115     MOJOSHADER_glShader *shader = MOJOSHADER_glCompileShader(buf, rc, NULL, 0, NULL, 0);
   116     if (shader == NULL)
   116     if (shader == NULL)
   117         report("FAIL: %s %s\n", fname, MOJOSHADER_glGetError());
   117         report("FAIL: %s %s\n", fname, MOJOSHADER_glGetError());
   118     else
   118     else
   119     {
   119     {
   120         const MOJOSHADER_parseData *pd = MOJOSHADER_glGetShaderParseData(shader);
   120         const MOJOSHADER_parseData *pd = MOJOSHADER_glGetShaderParseData(shader);