Index: src/gpu/GrLayerCache.cpp |
diff --git a/src/gpu/GrLayerCache.cpp b/src/gpu/GrLayerCache.cpp |
index 105ee04e53cd1a26f6ab78238211229bc3916225..c2facbb12d7a2a393bb1d682bc8761cb468f77f7 100644 |
--- a/src/gpu/GrLayerCache.cpp |
+++ b/src/gpu/GrLayerCache.cpp |
@@ -255,7 +255,7 @@ bool GrLayerCache::lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* n |
// TODO: make the test for exact match depend on the image filters themselves |
SkAutoTUnref<GrTexture> tex; |
if (layer->fFilter) { |
- tex.reset(fContext->textureProvider()->createTexture(desc, true)); |
+ tex.reset(fContext->textureProvider()->createTexture(desc, SkBudgeted::kYes)); |
} else { |
tex.reset(fContext->textureProvider()->createApproxTexture(desc)); |
} |