summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-24 09:04:11 -0700
committerBrian Paul <[email protected]>2008-11-24 09:04:11 -0700
commit08b825a77179a9e7ed902c9c57387f127cd007bc (patch)
tree2fe42b131edfb5afe2844ec592095c622d05ab9c /src
parent3f6668a4bf28109eb806be019fb235663572b7da (diff)
mesa: copy Flags in _mesa_clone_parameter_list()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_parameter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c
index 3a36b05a0fb..32f8860a149 100644
--- a/src/mesa/shader/prog_parameter.c
+++ b/src/mesa/shader/prog_parameter.c
@@ -622,6 +622,7 @@ _mesa_clone_parameter_list(const struct gl_program_parameter_list *list)
ASSERT(j >= 0);
pCopy = clone->Parameters + j;
pCopy->Used = p->Used;
+ pCopy->Flags = p->Flags;
/* copy state indexes */
if (p->Type == PROGRAM_STATE_VAR) {
GLint k;