aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_uniform.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-05 09:14:19 -0700
committerBrian Paul <[email protected]>2008-11-05 09:14:19 -0700
commit2ff46366030e3fee918c4be9e82335617435c42a (patch)
tree8674d74f3bfe3911dd558462363fdc96c3a5d39a /src/mesa/shader/prog_uniform.c
parent05a17f83b0a6549fde41540f9075505e81ab08d3 (diff)
mesa: add Initialized field to gl_uniform struct, for debugging purposes only
Diffstat (limited to 'src/mesa/shader/prog_uniform.c')
-rw-r--r--src/mesa/shader/prog_uniform.c1
1 files changed, 1 insertions, 0 deletions
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++;
}