From: Brian Paul Date: Mon, 24 Nov 2008 16:04:11 +0000 (-0700) Subject: mesa: copy Flags in _mesa_clone_parameter_list() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7264720b4e002ab9cd3c0e921013b74e8abf3e0;p=mesa.git mesa: copy Flags in _mesa_clone_parameter_list() --- 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;