mesa: copy array_len in slang_fully_specified_type_copy()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Dec 2008 22:01:00 +0000 (15:01 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 12 Dec 2008 22:01:00 +0000 (15:01 -0700)
src/mesa/shader/slang/slang_typeinfo.c

index bd135c1a11756859c5d34c524d78465a0c9301ef..a5bcde404f65b54349011d2be3c885c5cb480d36 100644 (file)
@@ -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;