aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2011-12-14 09:37:09 +0100
committerThomas Hellstrom <[email protected]>2011-12-15 08:27:47 +0100
commit11c9459ba0b0c0afa1ae0ea41b0edaf069fc421a (patch)
tree19b10c08163287ab567393181ea6663fd67a32d6 /src
parent7aadb53ef020b13658c9a99ecffe554af8755420 (diff)
st/xa: Fix component alpha check
Component alpha only affects mask pictures. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xa/xa_composite.c3
1 files changed, 1 insertions, 2 deletions
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;
/*