diff options
Diffstat (limited to 'src/gpu/GrCoordTransform.cpp')
-rw-r--r-- | src/gpu/GrCoordTransform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrCoordTransform.cpp b/src/gpu/GrCoordTransform.cpp index 2da49c43fb..63d91a810f 100644 --- a/src/gpu/GrCoordTransform.cpp +++ b/src/gpu/GrCoordTransform.cpp @@ -11,7 +11,7 @@ #include "GrGpu.h" void GrCoordTransform::reset(const SkMatrix& m, const GrTexture* texture, - GrTextureParams::FilterMode filter) { + GrSamplerParams::FilterMode filter) { SkASSERT(texture); SkASSERT(!fInProcessor); @@ -23,7 +23,7 @@ void GrCoordTransform::reset(const SkMatrix& m, const GrTexture* texture, // coords between 0 to 1 when bi- or tri-lerping and 1 value when nearest filtering. Note that // this still might not be enough when drawing with repeat or mirror-repeat modes but that case // can be arbitrarily bad. - int subPixelThresh = filter > GrTextureParams::kNone_FilterMode ? 4 : 1; + int subPixelThresh = filter > GrSamplerParams::kNone_FilterMode ? 4 : 1; fPrecision = kDefault_GrSLPrecision; if (texture->getContext()) { const GrShaderCaps* caps = texture->getContext()->caps()->shaderCaps(); |