diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-12-12 21:24:06 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2007-12-12 21:24:06 -0800 |
commit | f116634933cf19fe2a52a3be4e106be643cb1d0b (patch) | |
tree | adfd449684b4aafb1abdda9d3795d637002fc847 /src/mesa/shader/arbprogparse.c | |
parent | c79c93c0acd184e0333c1c9cedfbce11381e66e2 (diff) | |
parent | 37406c2038c418a1d6f26b5ac5691586c9f05631 (diff) |
Merge branch 'master' into autoconf2
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 3360fef585..eaa395048d 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -1768,7 +1768,7 @@ parse_param_elements (GLcontext * ctx, const GLubyte ** inst, { 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)++) { |