From: Brian Paul Date: Tue, 20 May 2008 17:29:16 +0000 (-0600) Subject: copy StateFlags in _mesa_clone_parameter_list() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b539b6132141b0f583076355ad158852667b79cd;p=mesa.git copy StateFlags in _mesa_clone_parameter_list() --- 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; }