diff options
Diffstat (limited to 'src/gpu/GrCoordTransform.cpp')
-rw-r--r-- | src/gpu/GrCoordTransform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrCoordTransform.cpp b/src/gpu/GrCoordTransform.cpp index 596a94bbdf..e7d9b1ecb0 100644 --- a/src/gpu/GrCoordTransform.cpp +++ b/src/gpu/GrCoordTransform.cpp @@ -27,7 +27,7 @@ void GrCoordTransform::reset(GrCoordSet sourceCoords, const SkMatrix& m, const G int subPixelThresh = filter > GrTextureParams::kNone_FilterMode ? 4 : 1; fPrecision = kDefault_GrSLPrecision; if (texture->getContext()) { - const GrShaderCaps* caps = texture->getContext()->getGpu()->caps()->shaderCaps(); + const GrShaderCaps* caps = texture->getContext()->caps()->shaderCaps(); if (caps->floatPrecisionVaries()) { int maxD = SkTMax(texture->width(), texture->height()); const GrShaderCaps::PrecisionInfo* info; |