Index: src/gpu/GrCoordTransform.cpp |
diff --git a/src/gpu/GrCoordTransform.cpp b/src/gpu/GrCoordTransform.cpp |
index a08d454badbfb912d80feb01cda53120ef3dc522..19c4ce197c8af3c4d6f56937c719ecf1aa082dad 100644 |
--- a/src/gpu/GrCoordTransform.cpp |
+++ b/src/gpu/GrCoordTransform.cpp |
@@ -27,10 +27,10 @@ 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 GrDrawTargetCaps* caps = texture->getContext()->getGpu()->caps(); |
+ const GrShaderCaps* caps = texture->getContext()->getGpu()->caps()->shaderCaps(); |
if (caps->floatPrecisionVaries()) { |
int maxD = SkTMax(texture->width(), texture->height()); |
- const GrDrawTargetCaps::PrecisionInfo* info; |
+ const GrShaderCaps::PrecisionInfo* info; |
info = &caps->getFloatShaderPrecisionInfo(kFragment_GrShaderType, fPrecision); |
do { |
SkASSERT(info->supported()); |