diff options
author | Brian Paul <[email protected]> | 2008-11-24 09:04:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:52:39 -0700 |
commit | 64de78723cb140d6de24678d298f58cd24aed02c (patch) | |
tree | c0c21a2953f78eba999cf9fe2f1ed9de04818739 /src | |
parent | a92af00e2adc1f3557ee69705c49e032286b2da2 (diff) |
mesa: copy Flags in _mesa_clone_parameter_list()
(cherry picked from commit 08b825a77179a9e7ed902c9c57387f127cd007bc)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/prog_parameter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index 5d8f3a5330f..6744ad93b81 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; |