summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-12 18:34:15 -0800
committerVinson Lee <vlee@vmware.com>2009-12-12 18:34:15 -0800
commitf8d4ac56f7596613730fa4961d9b7b2e8d042055 (patch)
treeffde9e1e9e845520a770f63cae0cc87487f21506 /src/gallium/drivers
parent7ea452dd35ba8ae063c70cc7fc916975c823ecd6 (diff)
softpipe: Initialize source in blend_quad.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_blend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c
index b1e18805c7..43ed4c2494 100644
--- a/src/gallium/drivers/softpipe/sp_quad_blend.c
+++ b/src/gallium/drivers/softpipe/sp_quad_blend.c
@@ -258,7 +258,8 @@ blend_quad(struct quad_stage *qs, struct quad_header *quad)
/* loop over colorbuffer outputs */
for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
- float source[4][QUAD_SIZE], dest[4][QUAD_SIZE];
+ float source[4][QUAD_SIZE] = { { 0 } };
+ float dest[4][QUAD_SIZE];
struct softpipe_cached_tile *tile
= sp_get_cached_tile(softpipe,
softpipe->cbuf_cache[cbuf],