Mesa (master): mesa: copy Flags in _mesa_clone_parameter_list()

Brian Paul brianp at kemper.freedesktop.org
Mon Nov 24 08:53:54 PST 2008


Module: Mesa
Branch: master
Commit: 08b825a77179a9e7ed902c9c57387f127cd007bc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=08b825a77179a9e7ed902c9c57387f127cd007bc

Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Nov 24 09:04:11 2008 -0700

mesa: copy Flags in _mesa_clone_parameter_list()

---

 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 3a36b05..32f8860 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;



More information about the mesa-commit mailing list