aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleCode.cpp
diff options
context:
space:
mode:
authorBrian Salomon <bsalomon@google.com>2016-12-21 11:14:46 -0500
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2016-12-21 16:45:40 +0000
commit09d994ecb30de2e62a31af2c16307af31fe0e0b3 (patch)
treecc6a7b93803eb79c4061f400fc71025175e07674 /samplecode/SampleCode.cpp
parentd5c5ed556c40f442eec96e071727de1cb07faf58 (diff)
Misc batch->op cleanup Part 1 of 2
Change-Id: I80f951976558a284e55386e0a368f08bd835d8ca Reviewed-on: https://skia-review.googlesource.com/6359 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'samplecode/SampleCode.cpp')
-rw-r--r--samplecode/SampleCode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleCode.cpp b/samplecode/SampleCode.cpp
index bb551190d2..a64c0e244a 100644
--- a/samplecode/SampleCode.cpp
+++ b/samplecode/SampleCode.cpp
@@ -153,7 +153,7 @@ void SampleView::onDraw(SkCanvas* canvas) {
SkAutoCanvasRestore acr(canvas, true);
this->onDrawContent(canvas);
#if SK_SUPPORT_GPU
- // Ensure the GrContext doesn't batch across draw loops.
+ // Ensure the GrContext doesn't combine GrDrawOps across draw loops.
if (GrContext* context = canvas->getGrContext()) {
context->flush();
}