aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/yuvtorgbeffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/yuvtorgbeffect.cpp')
-rw-r--r--gm/yuvtorgbeffect.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp
index fb0bcf3cfa..6b90dad9cc 100644
--- a/gm/yuvtorgbeffect.cpp
+++ b/gm/yuvtorgbeffect.cpp
@@ -129,8 +129,7 @@ protected:
sk_sp<GrDrawOp> batch(
GrRectBatchFactory::CreateNonAAFill(GrColor_WHITE, viewMatrix,
renderRect, nullptr, nullptr));
- renderTargetContext->priv().testingOnly_drawBatch(grPaint, GrAAType::kNone,
- batch.get());
+ renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get());
}
x += renderRect.width() + kTestPad;
}
@@ -245,8 +244,7 @@ protected:
grPaint.addColorFragmentProcessor(fp);
sk_sp<GrDrawOp> batch(GrRectBatchFactory::CreateNonAAFill(
GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr));
- renderTargetContext->priv().testingOnly_drawBatch(grPaint, GrAAType::kNone,
- batch.get());
+ renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch.get());
}
}
}