| Index: src/gpu/SkGr.cpp
|
| diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
|
| index 2fc0996d84cf2d42bb6c913c3ebe622807eaac75..b34a4c24361e5a5159a671a14cfdc61ab9948be1 100644
|
| --- a/src/gpu/SkGr.cpp
|
| +++ b/src/gpu/SkGr.cpp
|
| @@ -370,8 +370,8 @@ static GrTexture* load_yuv_texture(GrContext* ctx, const GrUniqueKey& optionalKe
|
| (yuvDesc.fWidth != yuvInfo.fSize[0].fWidth) ||
|
| (yuvDesc.fHeight != yuvInfo.fSize[0].fHeight);
|
| yuvTextures[i].reset(ctx->textureProvider()->refScratchTexture(yuvDesc,
|
| - needsExactTexture ? GrTextureProvider::kExact_ScratchTexMatch :
|
| - GrTextureProvider::kApprox_ScratchTexMatch));
|
| + needsExactTexture ? GrTextureProvider::kExact_ScratchMatch :
|
| + GrTextureProvider::kApprox_ScratchMatch));
|
| if (!yuvTextures[i] ||
|
| !yuvTextures[i]->writePixels(0, 0, yuvDesc.fWidth, yuvDesc.fHeight,
|
| yuvDesc.fConfig, planes[i], yuvInfo.fRowBytes[i])) {
|
|
|