| Index: src/gpu/GrLayerCache.cpp
|
| diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp
|
| index aea1c9b30f9f737dbc7a3b82dc2cfbddf688c958..3b461fff23a6d23180889f342396ae1065b16661 100644
|
| --- a/src/gpu/GrLayerCache.cpp
|
| +++ b/src/gpu/GrLayerCache.cpp
|
| @@ -248,9 +248,9 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* n
|
| }
|
|
|
| // TODO: make the test for exact match depend on the image filters themselves
|
| - GrTextureProvider::ScratchTexMatch usage = GrTextureProvider::kApprox_ScratchTexMatch;
|
| + GrTextureProvider::ScratchMatch usage = GrTextureProvider::kApprox_ScratchMatch;
|
| if (layer->fFilter) {
|
| - usage = GrTextureProvider::kExact_ScratchTexMatch;
|
| + usage = GrTextureProvider::kExact_ScratchMatch;
|
| }
|
|
|
| SkAutoTUnref<GrTexture> tex(fContext->textureProvider()->refScratchTexture(desc, usage));
|
|
|