summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-20 11:31:20 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-20 11:31:20 -0600
commit34149ec89d71aa550ac4477050fa79d66bb94f25 (patch)
tree8a059e5b5e9187d56045bb2083f459224e5e0d91 /src
parentc95c4efa54175f0adcffacb71e3d66839617ceba (diff)
copy StateFlags in _mesa_clone_parameter_list()
cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd)
Diffstat (limited to 'src')
-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 75cf5023df..152bd79f69 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;
}