diff options
author | 2015-05-28 08:13:16 -0700 | |
---|---|---|
committer | 2015-05-28 08:13:16 -0700 | |
commit | 9138c46e572085870638b6f7ad7fcdfcdf3cac99 (patch) | |
tree | 81724ed66336cfc21c7139860914d70fb726e34c /src/gpu/GrAtlasTextContext.cpp | |
parent | 9c240a1e6d314056fe0d6a8a33a3c60a6e19288f (diff) |
Add direct getter for GrCaps to GrContext.
TBR=joshualitt@google.com
Review URL: https://codereview.chromium.org/1149773005
Diffstat (limited to 'src/gpu/GrAtlasTextContext.cpp')
-rw-r--r-- | src/gpu/GrAtlasTextContext.cpp | 2 |
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; } |