summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
/*