softpipe: initialize quadColor2 to fix compile warnings

This commit is contained in:
Marek Olšák
2012-10-09 01:11:56 +02:00
parent d0349c91c8
commit fd3219962d

View File

@@ -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));