copy StateFlags in _mesa_clone_parameter_list()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 May 2008 17:31:20 +0000 (11:31 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 May 2008 17:31:20 +0000 (11:31 -0600)
cherry-picked from master (b539b6132141b0f583076355ad158852667b79cd)

src/mesa/shader/prog_parameter.c

index 75cf5023df18518357e8d03ac8894268b4c3d51c..152bd79f695643c82f25342cce5cef8fa65d9836 100644 (file)
@@ -608,6 +608,8 @@ _mesa_clone_parameter_list(const struct gl_program_parameter_list *list)
       }
    }
 
+   clone->StateFlags = list->StateFlags;
+
    return clone;
 }