copy StateFlags in _mesa_clone_parameter_list()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 May 2008 17:29:16 +0000 (11:29 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 20 May 2008 17:29:16 +0000 (11:29 -0600)
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;
 }