Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index 4310f4c23e42e8b97b6a3bab47e9c45bb7f9deb0..30e833b0082a7a3786ca084ee1828911e5804882 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -671,7 +671,7 @@ GrGeometryProcessor* QuadEdgeEffect::TestCreate(SkRandom* random, |
const GrDrawTargetCaps& caps, |
GrTexture*[]) { |
// Doesn't work without derivative instructions. |
- return caps.shaderDerivativeSupport() ? |
+ return caps.shaderCaps()->shaderDerivativeSupport() ? |
QuadEdgeEffect::Create(GrRandomColor(random), |
GrTest::TestMatrix(random)) : NULL; |
} |
@@ -684,7 +684,7 @@ bool GrAAConvexPathRenderer::canDrawPath(const GrDrawTarget* target, |
const SkPath& path, |
const GrStrokeInfo& stroke, |
bool antiAlias) const { |
- return (target->caps()->shaderDerivativeSupport() && antiAlias && |
+ return (target->caps()->shaderCaps()->shaderDerivativeSupport() && antiAlias && |
stroke.isFillStyle() && !path.isInverseFillType() && path.isConvex()); |
} |