assemble.c
changeset 524 03eea2f0762c
parent 486 45efac751027
child 536 5af65fe6e917
equal deleted inserted replaced
523:699696afd731 524:03eea2f0762c
    21     } // if
    21     } // if
    22 
    22 
    23     const MOJOSHADER_parseData *pd;
    23     const MOJOSHADER_parseData *pd;
    24     int retval = 0;
    24     int retval = 0;
    25 
    25 
    26     pd = MOJOSHADER_assemble(buf, NULL, NULL, NULL);
    26     pd = MOJOSHADER_assemble(buf, NULL, 0, NULL, 0, NULL, NULL, NULL);
    27     if (pd->error != NULL)
    27     if (pd->error != NULL)
    28         printf("ERROR: (line %d) %s\n", pd->error_position, pd->error);
    28         printf("ERROR: (line %d) %s\n", pd->error_position, pd->error);
    29     else
    29     else
    30     {
    30     {
    31         if (pd->output != NULL)
    31         if (pd->output != NULL)