diff options
author | 2015-11-30 12:30:13 -0800 | |
---|---|---|
committer | 2015-11-30 12:30:13 -0800 | |
commit | 144c3c8b7ff3ebc389b41211f3388fb24a7ff0c2 (patch) | |
tree | 9339d400b3d47a8d0307f19419e3dacd62a6cf12 /src/gpu/batches/GrDrawVerticesBatch.cpp | |
parent | 0cf5ecb67a2af5ec3ea20c5a189ff165ccb678c9 (diff) |
Make onPrepareDraws const
BUG=skia:
Review URL: https://codereview.chromium.org/1483103003
Diffstat (limited to 'src/gpu/batches/GrDrawVerticesBatch.cpp')
-rw-r--r-- | src/gpu/batches/GrDrawVerticesBatch.cpp | 2 |
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( |