commit | 4a96a02de7c1b8c136ffc0cd278401c85faab233 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Wed Sep 21 11:40:27 2011 +0800 |
committer | Chia-I Wu <olv@lunarg.com> | Wed Sep 21 12:01:21 2011 +0800 |
tree | 4013803f8828ec0fd99f9a4f557f7455d5b960fb | |
parent | ceb6d34906c7c03c102c7e78dd02f5b0ebab4ca9 [diff] |
st/vega: fix drawing images with alpha channel Checking if the paints are opaque in renderer_validate_blend() does not work. We could be drawing images. Remove the check from renderer_validate_blend() and take image drawing into consideration in blend_use_shader(). The bug was introduced by 3f0a966807f03a364edea0272ddf45f08ab7ce4f, which affects the lookup demo.