commit | f66018798099750e639a8fa131fece492a050997 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 21:11:35 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Aug 28 21:11:35 2012 +0000 |
tree | 4238c882198f2050a2e2ab270ae0c89dc1d49ed0 | |
parent | a7e483d130a65833e4c0d4abb4c2f13a9ce7703b [diff] [blame] |
Hide GrDrawTarget::Caps's member vars Review URL: https://codereview.appspot.com/6499044 git-svn-id: http://skia.googlecode.com/svn/trunk@5328 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp index 718cfdd..8169508 100644 --- a/src/gpu/GrAAConvexPathRenderer.cpp +++ b/src/gpu/GrAAConvexPathRenderer.cpp
@@ -434,7 +434,7 @@ GrPathFill fill, const GrDrawTarget* target, bool antiAlias) const { - if (!target->getCaps().fShaderDerivativeSupport || !antiAlias || + if (!target->getCaps().shaderDerivativeSupport() || !antiAlias || kHairLine_GrPathFill == fill || GrIsFillInverted(fill) || !path.isConvex()) { return false;