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
|
|
@ -312,8 +312,7 @@ process_array_constructor(exec_list *instructions,
|
|||
|
||||
if (constructor_type->length == 0) {
|
||||
constructor_type =
|
||||
glsl_type::get_array_instance(state,
|
||||
constructor_type->element_type(),
|
||||
glsl_type::get_array_instance(constructor_type->element_type(),
|
||||
parameter_count);
|
||||
assert(constructor_type != NULL);
|
||||
assert(constructor_type->length == parameter_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue