projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a20d4
)
make sure state token values are fully initialized
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:52:00 +0000
(15:52 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:52:00 +0000
(15:52 -0600)
cherry-picked from master
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index 38e174f3adc9a8706ce1511377e8ad6c39c2de35..2fd356efad1b1ee6b2df4fb908e22d33259e451f 100644
(file)
--- a/
src/mesa/shader/arbprogparse.c
+++ b/
src/mesa/shader/arbprogparse.c
@@
-1767,7
+1767,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)++) {