summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-10 18:30:46 -0800
committerVinson Lee <vlee@vmware.com>2010-02-10 18:30:46 -0800
commit19045d3749827caf176ae5cfc00c81e4fd486d74 (patch)
tree35f462b9a36c58726d0dfce87d89a5b8af44b371
parent8df7e20788d201e6f031249563ba8a82eb4b4715 (diff)
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
-rw-r--r--src/mesa/swrast_setup/ss_tritmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_tritmp.h b/src/mesa/swrast_setup/ss_tritmp.h
index 8484aab5a93..d9bf54dd46e 100644
--- 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 };