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 20:11:05 +0000 (13:11 -0700)
src/mesa/shader/prog_parameter.c

index 5d8f3a5330fae4efcce72f6aca2c5f4ef0e1d744..6744ad93b81af55baf9b3007fd191b773b004103 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;