projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df7e20
)
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
author
Vinson Lee
<vlee@vmware.com>
Thu, 11 Feb 2010 02:30:46 +0000
(18:30 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 11 Feb 2010 02:30:46 +0000
(18:30 -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 8484aab5a93fd7f86f7438e54c0e685aad59fa07..d9bf54dd46ecdd2b6da7c99e39cc4366a7a876ca 100644
(file)
--- a/
src/mesa/swrast_setup/ss_tritmp.h
+++ b/
src/mesa/swrast_setup/ss_tritmp.h
@@
-40,7
+40,7
@@
static void TAG(triangle)(GLcontext *ctx, GLuint e0, GLuint e1, GLuint e2 )
GLfloat offset, oz0, oz1, oz2;
GLenum mode = GL_FILL;
GLuint facing = 0;
- GLchan saved_color[3][4];
+ GLchan saved_color[3][4]
= { { 0 } }
;
GLfloat saved_col0[3][4] = { { 0 } };
GLfloat saved_spec[3][4] = { { 0 } };
GLfloat saved_index[3] = { 0 };