From: Thomas Hellstrom Date: Wed, 14 Dec 2011 08:37:09 +0000 (+0100) Subject: st/xa: Fix component alpha check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11c9459ba0b0c0afa1ae0ea41b0edaf069fc421a;p=mesa.git st/xa: Fix component alpha check Component alpha only affects mask pictures. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- diff --git a/src/gallium/state_trackers/xa/xa_composite.c b/src/gallium/state_trackers/xa/xa_composite.c index 0659c77be53..43940e768d8 100644 --- a/src/gallium/state_trackers/xa/xa_composite.c +++ b/src/gallium/state_trackers/xa/xa_composite.c @@ -113,8 +113,7 @@ blend_for_op(struct xa_composite_blend *blend, /* * Temporarily disable component alpha since it appears buggy. */ - if (src_pic->component_alpha || - (mask_pic && mask_pic->component_alpha)) + if (mask_pic && mask_pic->component_alpha) return FALSE; /*