softpipe: Silence unintialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 02:06:02 +0000 (18:06 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 28 Dec 2009 02:06:02 +0000 (18:06 -0800)
src/gallium/drivers/softpipe/sp_quad_blend.c

index fe6b6cec3533d1d4004e53eb25d481e222a01668..d9babe81dad5d165e10a19fafabd412ad654ae86 100644 (file)
@@ -229,7 +229,7 @@ blend_quad(struct quad_stage *qs,
    static const float zero[4] = { 0, 0, 0, 0 };
    static const float one[4] = { 1, 1, 1, 1 };
    struct softpipe_context *softpipe = qs->softpipe;
-   float source[4][QUAD_SIZE];
+   float source[4][QUAD_SIZE] = { { 0 } };
 
    /*
     * Compute src/first term RGB