Index: src/gpu/GrCoordTransform.cpp |
diff --git a/src/gpu/GrCoordTransform.cpp b/src/gpu/GrCoordTransform.cpp |
index e7d9b1ecb04c53494769a1bd8299ba7db2ae1c38..596a94bbdfd3ac2d5cf9c9c061ba4745febd349a 100644 |
--- a/src/gpu/GrCoordTransform.cpp |
+++ b/src/gpu/GrCoordTransform.cpp |
@@ -27,7 +27,7 @@ |
int subPixelThresh = filter > GrTextureParams::kNone_FilterMode ? 4 : 1; |
fPrecision = kDefault_GrSLPrecision; |
if (texture->getContext()) { |
- const GrShaderCaps* caps = texture->getContext()->caps()->shaderCaps(); |
+ const GrShaderCaps* caps = texture->getContext()->getGpu()->caps()->shaderCaps(); |
if (caps->floatPrecisionVaries()) { |
int maxD = SkTMax(texture->width(), texture->height()); |
const GrShaderCaps::PrecisionInfo* info; |