aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathUtils.h
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/GrPathUtils.h
parent0cf5ecb67a2af5ec3ea20c5a189ff165ccb678c9 (diff)
Make onPrepareDraws const
Diffstat (limited to 'src/gpu/GrPathUtils.h')
-rw-r--r--src/gpu/GrPathUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrPathUtils.h b/src/gpu/GrPathUtils.h
index 385cc0e470..4874fa2aef 100644
--- a/src/gpu/GrPathUtils.h
+++ b/src/gpu/GrPathUtils.h
@@ -74,7 +74,7 @@ namespace GrPathUtils {
* vertices is a pointer to the first vertex.
*/
template <int N, size_t STRIDE, size_t UV_OFFSET>
- void apply(const void* vertices) {
+ void apply(const void* vertices) const {
intptr_t xyPtr = reinterpret_cast<intptr_t>(vertices);
intptr_t uvPtr = reinterpret_cast<intptr_t>(vertices) + UV_OFFSET;
float sx = fM[0];