swrast: Silence uninitialized variable warnings in ss_tritmp.h.
authorVinson Lee <vlee@vmware.com>
Thu, 11 Feb 2010 02:30:46 +0000 (18:30 -0800)
committerVinson Lee <vlee@vmware.com>
Thu, 11 Feb 2010 02:30:46 +0000 (18:30 -0800)
src/mesa/swrast_setup/ss_tritmp.h

index 8484aab5a93fd7f86f7438e54c0e685aad59fa07..d9bf54dd46ecdd2b6da7c99e39cc4366a7a876ca 100644 (file)
@@ -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 };