Skip to content
Permalink
Browse files
Should be an array of structs, not an array of pointers to structs.
  • Loading branch information
icculus committed Feb 19, 2009
1 parent 046dfd9 commit 19e92e236f442880962c4717f6659468b7dec32f

File 1 of 4 in 19e92e2

@@ -791,7 +791,7 @@ typedef void (*MOJOSHADER_includeClose)(const char *data,
*/
const MOJOSHADER_preprocessData *MOJOSHADER_preprocess(const char *filename,
const char *source, unsigned int sourcelen,
const MOJOSHADER_preprocessorDefine **defines,
const MOJOSHADER_preprocessorDefine *defines,
unsigned int define_count,
MOJOSHADER_includeOpen include_open,
MOJOSHADER_includeClose include_close,
@@ -874,7 +874,7 @@ const MOJOSHADER_parseData *MOJOSHADER_assemble(const char *filename,
const char **comments, unsigned int comment_count,
const MOJOSHADER_symbol *symbols,
unsigned int symbol_count,
const MOJOSHADER_preprocessorDefine **defines,
const MOJOSHADER_preprocessorDefine *defines,
unsigned int define_count,
MOJOSHADER_includeOpen include_open,
MOJOSHADER_includeClose include_close,

0 comments on commit 19e92e2

Please sign in to comment.