mesa: copy Flags in _mesa_clone_parameter_list()
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 16:04:11 +0000 (09:04 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 16:04:11 +0000 (09:04 -0700)
src/mesa/shader/prog_parameter.c

index 3a36b05a0fbf89f20477a86c927859c61c42d2f6..32f8860a1491366ee81dc584109132c23e135192 100644 (file)
@@ -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;