mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886845. Paint component alpha layer borders in blue. r=nical
More information is more better.
This commit is contained in:
parent
684b942461
commit
3581b92b44
@ -175,9 +175,13 @@ ContentHostBase::Composite(EffectChain& aEffectChain,
|
||||
Float(tileRegionRect.width) / texRect.width,
|
||||
Float(tileRegionRect.height) / texRect.height);
|
||||
GetCompositor()->DrawQuad(rect, aClipRect, aEffectChain, aOpacity, aTransform, aOffset);
|
||||
GetCompositor()->DrawDiagnostics(gfx::Color(0.0,1.0,0.0,1.0),
|
||||
rect, aClipRect, aTransform, aOffset);
|
||||
|
||||
if (iterOnWhite) {
|
||||
GetCompositor()->DrawDiagnostics(gfx::Color(0.0,0.0,1.0,1.0),
|
||||
rect, aClipRect, aTransform, aOffset);
|
||||
} else {
|
||||
GetCompositor()->DrawDiagnostics(gfx::Color(0.0,1.0,0.0,1.0),
|
||||
rect, aClipRect, aTransform, aOffset);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user