aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAtlasTextContext.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-29 08:02:10 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-29 08:02:10 -0700
commit762286309545c8a1e4bbc05dcd1fe3085d2a1f47 (patch)
tree0b939756bc2106ec4bf46d90362c6292a2ae4435 /src/gpu/GrAtlasTextContext.cpp
parentff2f423d90147dba710186ec4b63de75da7be8ed (diff)
Add direct getter for GrCaps to GrContext.
Diffstat (limited to 'src/gpu/GrAtlasTextContext.cpp')
-rw-r--r--src/gpu/GrAtlasTextContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index 1d2cc4c68b..1006d4e863 100644
--- a/src/gpu/GrAtlasTextContext.cpp
+++ b/src/gpu/GrAtlasTextContext.cpp
@@ -460,7 +460,7 @@ inline bool GrAtlasTextContext::canDrawAsDistanceFields(const SkPaint& skPaint,
// rasterizers and mask filters modify alpha, which doesn't
// translate well to distance
if (skPaint.getRasterizer() || skPaint.getMaskFilter() ||
- !fContext->shaderDerivativeSupport()) {
+ !fContext->caps()->shaderCaps()->shaderDerivativeSupport()) {
return false;
}