glsl2: glsl_type has its own talloc context, don't pass one in
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user