From 949e7383b597563b5603ba9b63fcfa4b1f45cf42 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 Nov 2008 09:17:55 -0700 Subject: mesa: add Initialized field to gl_uniform struct, for debugging purposes only --- src/mesa/shader/prog_uniform.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/shader/prog_uniform.c') diff --git a/src/mesa/shader/prog_uniform.c b/src/mesa/shader/prog_uniform.c index f57df3d86dc..a0aa615c5f6 100644 --- a/src/mesa/shader/prog_uniform.c +++ b/src/mesa/shader/prog_uniform.c @@ -87,6 +87,7 @@ _mesa_append_uniform(struct gl_uniform_list *list, list->Uniforms[oldNum].Name = _mesa_strdup(name); list->Uniforms[oldNum].VertPos = -1; list->Uniforms[oldNum].FragPos = -1; + list->Uniforms[oldNum].Initialized = GL_FALSE; index = oldNum; list->NumUniforms++; } -- cgit v1.2.3