diff options
author | Brian Paul <[email protected]> | 2008-11-24 09:04:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-24 13:11:05 -0700 |
commit | a7264720b4e002ab9cd3c0e921013b74e8abf3e0 (patch) | |
tree | 96b3fe5970771c4a6594766071cf2af0c35f88f6 /src/mesa | |
parent | 68020ca2af2724eb561a3c3a1e845c82bc896767 (diff) |
mesa: copy Flags in _mesa_clone_parameter_list()
Diffstat (limited to 'src/mesa')
-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; |