mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()

(cherry picked from commit 0e2f757413)
This commit is contained in:
Brian Paul 2008-11-24 09:13:14 -07:00 committed by Brian Paul
parent c249ac6d14
commit 19111c5efc

View file

@ -122,6 +122,9 @@ slang_fully_specified_type_copy(slang_fully_specified_type * x,
if (!slang_fully_specified_type_construct(&z))
return 0;
z.qualifier = y->qualifier;
z.precision = y->precision;
z.variant = y->variant;
z.centroid = y->centroid;
if (!slang_type_specifier_copy(&z.specifier, &y->specifier)) {
slang_fully_specified_type_destruct(&z);
return 0;