diff options
author | Brian Paul <[email protected]> | 2008-04-09 14:17:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-04-09 14:20:43 -0600 |
commit | f7e475280a0b98484a8c1a98f18b2733532486b4 (patch) | |
tree | 59b37e2af0104529972efd4865021559530374ab /src/gallium | |
parent | da8934034b33adef5dc41395cfde4bdd26ba207c (diff) |
gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA case
Diffstat (limited to 'src/gallium')
-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 8be8025f40c..802472df45f 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -561,7 +561,7 @@ blend_quad(struct quad_stage *qs, struct quad_header *quad) case PIPE_BLENDFACTOR_INV_DST_ALPHA: { float inv_comp[4]; - VEC4_SUB(inv_comp, one, quadColor[3]); /* A */ + VEC4_SUB(inv_comp, one, dest[3]); /* A */ VEC4_MUL(dest[0], inv_comp, dest[0]); /* R */ VEC4_MUL(dest[1], inv_comp, dest[1]); /* G */ VEC4_MUL(dest[2], inv_comp, dest[2]); /* B */ |