mesa: copy Flags in _mesa_clone_parameter_list()

This commit is contained in:
Brian Paul 2008-11-24 09:04:11 -07:00
parent 68020ca2af
commit a7264720b4

View 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;