projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d85e8
)
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
author
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 06:00:19 +0000
(22:00 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 06:00:19 +0000
(22:00 -0800)
src/mesa/swrast_setup/ss_tritmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/swrast_setup/ss_tritmp.h
b/src/mesa/swrast_setup/ss_tritmp.h
index 724b5e94fa55faebd63a083fe0624abc35ea1630..bd20a8d972f2a36fdee0407ddec062be02edbb49 100644
(file)
--- a/
src/mesa/swrast_setup/ss_tritmp.h
+++ b/
src/mesa/swrast_setup/ss_tritmp.h
@@
-41,9
+41,9
@@
static void TAG(triangle)(GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
GLenum mode = GL_FILL;
GLuint facing = 0;
GLchan saved_color[3][4];
- GLfloat saved_col0[3][4];
- GLfloat saved_spec[3][4];
- GLfloat saved_index[3];
+ GLfloat saved_col0[3][4]
= { { 0 } }
;
+ GLfloat saved_spec[3][4]
= { { 0 } }
;
+ GLfloat saved_index[3]
= { 0 }
;
v[0] = &verts[e0];
v[1] = &verts[e1];