diff options
Diffstat (limited to 'gm/convexpolyeffect.cpp')
-rw-r--r-- | gm/convexpolyeffect.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp index 7a8c5b292a..c7a5d0c7f1 100644 --- a/gm/convexpolyeffect.cpp +++ b/gm/convexpolyeffect.cpp @@ -185,7 +185,8 @@ protected: sk_sp<GrDrawOp> batch(new PolyBoundsBatch(p.getBounds(), 0xff000000)); - renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, GrAAType::kNone, + batch.get()); x += SkScalarCeilToScalar(path->getBounds().width() + kDX); } @@ -224,7 +225,8 @@ protected: sk_sp<GrDrawOp> batch(new PolyBoundsBatch(rect, 0xff000000)); - renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get()); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, GrAAType::kNone, + batch.get()); x += SkScalarCeilToScalar(rect.width() + kDX); } |