glsl2: glsl_type has its own talloc context, don't pass one in

This commit is contained in:
Ian Romanick
2010-07-20 15:33:40 -07:00
parent a7ba9a7919
commit f38d15b80d
6 changed files with 18 additions and 25 deletions

View File

@@ -138,7 +138,7 @@ read_type(_mesa_glsl_parse_state *st, s_expression *expr)
return NULL;
}
return glsl_type::get_array_instance(st, base_type, size->value());
return glsl_type::get_array_instance(base_type, size->value());
} else if (strcmp(type_sym->value(), "struct") == 0) {
assert(false); // FINISHME
} else {