diff options
author | Marek Olšák <[email protected]> | 2012-10-09 01:11:56 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-09 01:14:24 +0200 |
commit | fd3219962de473fb426a00fa6a3256f1efc1f24c (patch) | |
tree | 3027c91448ffb5af2b7100b1e6841407bbd4f482 /src | |
parent | d0349c91c85c929de0502c4aeddae5b0ee3a1b7b (diff) |
softpipe: initialize quadColor2 to fix compile warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_blend.c | 2 |
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 5db787ba91a..aba6730da05 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -949,7 +949,7 @@ blend_fallback(struct quad_stage *qs, for (q = 0; q < nr; q++) { struct quad_header *quad = quads[q]; float (*quadColor)[4]; - float (*quadColor2)[4]; + float (*quadColor2)[4] = NULL; float temp_quad_color[TGSI_QUAD_SIZE][4]; const int itx = (quad->input.x0 & (TILE_SIZE-1)); const int ity = (quad->input.y0 & (TILE_SIZE-1)); |