mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
Use glsl_type::element_type to get the type of array elements
This commit is contained in:
parent
c35bb00130
commit
cb9cba20a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue