projects
/
profile
/
ivi
/
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
38e174f
..
2fd356e
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)++) {