aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-27 18:06:02 -0800
committerVinson Lee <[email protected]>2009-12-27 18:06:02 -0800
commit3a2f96f18aab60ed061339f74792307964c284a2 (patch)
treee7dc708753a97987b9d4ae12908128065832154b
parent180ccffe550698d860e06d3cf5e16e4d9c3e7ddd (diff)
softpipe: Silence unintialized variable warnings.
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_blend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c
index fe6b6cec353..d9babe81dad 100644
--- a/src/gallium/drivers/softpipe/sp_quad_blend.c
+++ b/src/gallium/drivers/softpipe/sp_quad_blend.c
@@ -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