commit | 8dc188485be27dee7a3f2d1cc47527e183d7ee17 | [log] [tgz] |
---|---|---|
author | Roland Scheidegger <sroland@tungstengraphics.com> | Thu Nov 29 03:08:18 2007 +0100 |
committer | Roland Scheidegger <sroland@tungstengraphics.com> | Tue Dec 11 15:38:33 2007 +0100 |
tree | 1667d6d268061933ee61294f64d5352081b7120a | |
parent | ffee86f69711e96c5a9ae68376aaf8a044c73dc8 [diff] [blame] |
make sure state token values are fully initialized
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 3360fef..eaa3950 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c
@@ -1768,7 +1768,7 @@ { GLint idx; GLuint err = 0; - gl_state_index state_tokens[STATE_LENGTH]; + gl_state_index state_tokens[STATE_LENGTH] = {0, 0, 0, 0, 0}; GLfloat const_values[4]; switch (*(*inst)++) {