Fixed source composition with opacity in the raster paint engine.
Task-number: QTBUG-24075 Change-Id: I2b9263364bf30fb8c914823e80e7ea4a8af26035 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
parent
979cb5a09e
commit
5240055e08
@ -3695,6 +3695,8 @@ static inline Operator getOperator(const QSpanData *data, const QSpan *spans, in
|
||||
// don't clear dest_fetch as it sets up the pointer correctly to save one copy
|
||||
break;
|
||||
default: {
|
||||
if (data->type == QSpanData::Texture && data->texture.const_alpha != 256)
|
||||
break;
|
||||
const QSpan *lastSpan = spans + spanCount;
|
||||
bool alphaSpans = false;
|
||||
while (spans < lastSpan) {
|
||||
|
Loading…
Reference in New Issue
Block a user