summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_parameter.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-20 11:29:16 -0600
committerBrian Paul <[email protected]>2008-05-20 11:29:16 -0600
commitb539b6132141b0f583076355ad158852667b79cd (patch)
tree43d996d464e0917b9c1b0d7f30117a763d986919 /src/mesa/shader/prog_parameter.c
parent4978953c7962f33fa1eddbe75e5ef3736fbe7f06 (diff)
copy StateFlags in _mesa_clone_parameter_list()
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
-rw-r--r--src/mesa/shader/prog_parameter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c
index 75cf5023df1..152bd79f695 100644
--- a/src/mesa/shader/prog_parameter.c
+++ b/src/mesa/shader/prog_parameter.c
@@ -608,6 +608,8 @@ _mesa_clone_parameter_list(const struct gl_program_parameter_list *list)
}
}
+ clone->StateFlags = list->StateFlags;
+
return clone;
}