Skip to content
Browse files
First (incomplete!) shot at more robust CTAB support.
Assembler can now add it, but we still need to parse it better and report it
 all back to the app in MOJOSHADER_parse().
  • Loading branch information
icculus committed Dec 20, 2008
1 parent d3f911b commit 6c918ef5696034d55848b3dab1bfdad4634da6b4

File 1 of 6 in 6c918ef

@@ -23,7 +23,7 @@ static int assemble(const char *buf, const char *outfile)
const MOJOSHADER_parseData *pd;
int retval = 0;

pd = MOJOSHADER_assemble(buf, NULL, NULL, NULL);
pd = MOJOSHADER_assemble(buf, NULL, 0, NULL, 0, NULL, NULL, NULL);
if (pd->error != NULL)
printf("ERROR: (line %d) %s\n", pd->error_position, pd->error);

0 comments on commit 6c918ef

Please sign in to comment.