Use glsl_type::element_type to get the type of array elements
This commit is contained in:
parent
c35bb00130
commit
cb9cba20a0
|
@ -264,7 +264,7 @@ process_array_constructor(exec_list *instructions,
|
|||
|
||||
if (constructor_type->length == 0) {
|
||||
constructor_type =
|
||||
glsl_type::get_array_instance(constructor_type->get_base_type(),
|
||||
glsl_type::get_array_instance(constructor_type->element_type(),
|
||||
parameter_count);
|
||||
assert(constructor_type != NULL);
|
||||
assert(constructor_type->length == parameter_count);
|
||||
|
|
Loading…
Reference in New Issue