aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/batches/GrDrawVerticesBatch.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-11-30 12:30:13 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-30 12:30:13 -0800
commit144c3c8b7ff3ebc389b41211f3388fb24a7ff0c2 (patch)
tree9339d400b3d47a8d0307f19419e3dacd62a6cf12 /src/gpu/batches/GrDrawVerticesBatch.cpp
parent0cf5ecb67a2af5ec3ea20c5a189ff165ccb678c9 (diff)
Make onPrepareDraws const
Diffstat (limited to 'src/gpu/batches/GrDrawVerticesBatch.cpp')
-rw-r--r--src/gpu/batches/GrDrawVerticesBatch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/batches/GrDrawVerticesBatch.cpp b/src/gpu/batches/GrDrawVerticesBatch.cpp
index cc5ccbd001..cfbd24c9c5 100644
--- a/src/gpu/batches/GrDrawVerticesBatch.cpp
+++ b/src/gpu/batches/GrDrawVerticesBatch.cpp
@@ -92,7 +92,7 @@ void GrDrawVerticesBatch::initBatchTracker(const GrXPOverridesForBatch& override
}
}
-void GrDrawVerticesBatch::onPrepareDraws(Target* target) {
+void GrDrawVerticesBatch::onPrepareDraws(Target* target) const {
bool hasLocalCoords = !fGeoData[0].fLocalCoords.isEmpty();
int colorOffset = -1, texOffset = -1;
SkAutoTUnref<const GrGeometryProcessor> gp(