diff options
author | Brian Paul <[email protected]> | 2008-05-20 11:31:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-20 11:31:20 -0600 |
commit | 34149ec89d71aa550ac4477050fa79d66bb94f25 (patch) | |
tree | 8a059e5b5e9187d56045bb2083f459224e5e0d91 /src/mesa/shader | |
parent | c95c4efa54175f0adcffacb71e3d66839617ceba (diff) |
copy StateFlags in _mesa_clone_parameter_list()
cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_parameter.c | 2 |
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; } |