glsl2: glsl_type has its own talloc context, don't pass one in
This commit is contained in:
parent
a7ba9a7919
commit
f38d15b80d
6 changed files with 18 additions and 25 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue