aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_uniform.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-05 09:17:55 -0700
committerBrian Paul <[email protected]>2008-11-05 09:17:55 -0700
commit949e7383b597563b5603ba9b63fcfa4b1f45cf42 (patch)
tree65aac238d8665137d7da1f9a61a9b56313f968d6 /src/mesa/shader/prog_uniform.c
parentaab429c8df228271786890691a43786baf091b37 (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++;
}