aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureToYUVPlanes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrTextureToYUVPlanes.cpp')
-rw-r--r--src/gpu/GrTextureToYUVPlanes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrTextureToYUVPlanes.cpp b/src/gpu/GrTextureToYUVPlanes.cpp
index 16aa55b1d5..ff6c707621 100644
--- a/src/gpu/GrTextureToYUVPlanes.cpp
+++ b/src/gpu/GrTextureToYUVPlanes.cpp
@@ -24,11 +24,11 @@ static bool convert_texture(GrTexture* src, GrRenderTargetContext* dst, int dstW
SkScalar xScale = SkIntToScalar(src->width()) / dstW / src->width();
SkScalar yScale = SkIntToScalar(src->height()) / dstH / src->height();
- GrTextureParams::FilterMode filter;
+ GrSamplerParams::FilterMode filter;
if (dstW == src->width() && dstW == src->height()) {
- filter = GrTextureParams::kNone_FilterMode;
+ filter = GrSamplerParams::kNone_FilterMode;
} else {
- filter = GrTextureParams::kBilerp_FilterMode;
+ filter = GrSamplerParams::kBilerp_FilterMode;
}
sk_sp<GrFragmentProcessor> fp(