Skip to content

Commit

Permalink
Fixed reference to wrong variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 13, 2011
1 parent 51fcacb commit faa532c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_compiler.c
Expand Up @@ -2328,7 +2328,7 @@ static const MOJOSHADER_astDataType *type_check_ast(Context *ctx, void *_ast)

// map member to datatype
assert(ast->derefstruct.datatype == NULL);
const MOJOSHADER_astDataTypeStructMember *mbrs = datatype->structure.members;
const MOJOSHADER_astDataTypeStructMember *mbrs = reduced->structure.members;
int i;
for (i = 0; i < reduced->structure.member_count; i++)
{
Expand Down

0 comments on commit faa532c

Please sign in to comment.