softpipe: Initialize source in blend_quad.

This commit is contained in:
Vinson Lee 2009-12-12 18:34:15 -08:00
parent 7ea452dd35
commit f8d4ac56f7

View file

@ -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],