diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-12 22:00:19 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-12 22:00:19 -0800 |
commit | 0aef54ba627c748a43f601228c725f5ba79be002 (patch) | |
tree | 003acc6d4cf8b20d45617f37182b3151fd11b285 | |
parent | 89d85e8170e38e04790a2c10541dec01fee9afd2 (diff) |
swrast: Silence uninitialized variable warnings in ss_tritmp.h.
-rw-r--r-- | src/mesa/swrast_setup/ss_tritmp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast_setup/ss_tritmp.h b/src/mesa/swrast_setup/ss_tritmp.h index 724b5e94fa..bd20a8d972 100644 --- 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]; |