mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 23:40:12 +01:00
mesa: copy array_len in slang_fully_specified_type_copy()
(cherry picked from commit c20d00f04b)
This commit is contained in:
parent
91535b8a61
commit
ae701a1201
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x,
|
|||
z.precision = y->precision;
|
||||
z.variant = y->variant;
|
||||
z.centroid = y->centroid;
|
||||
z.array_len = y->array_len;
|
||||
if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) {
|
||||
slang_fully_specified_type_destruct(&z);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue