diff options
Diffstat (limited to 'src/core/SkScan_AntiPath.cpp')
-rw-r--r-- | src/core/SkScan_AntiPath.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp index 1178c9c541..8f20ef6eb9 100644 --- a/src/core/SkScan_AntiPath.cpp +++ b/src/core/SkScan_AntiPath.cpp @@ -615,6 +615,10 @@ static bool ShouldUseAAA(const SkPath& path) { void SkScan::SAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir, const SkIRect& clipBounds, bool containedInClip, bool forceRLE) { +#if !defined(SK_SUPPORT_LEGACY_AA_BEHAVIOR) + containedInClip = clipBounds.contains(ir); +#endif + bool isInverse = path.isInverseFillType(); // MaskSuperBlitter can't handle drawing outside of ir, so we can't use it |