aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlurTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-02-06 08:49:24 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-06 08:49:24 -0800
commitd0423587ac56ae84d3f1eb796d5c1e2dfba9646e (patch)
tree1bbbc8adbc1b63dc7dd19ffc08889be9a80b89c5 /tests/BlurTest.cpp
parent02c8fd0ad5e5279004dd49ec49fbae00f8522ec0 (diff)
One createTexture function, attempt to recycle scratch in createTexture.
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r--tests/BlurTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp
index 62c11e05fa..4dad71df48 100644
--- a/tests/BlurTest.cpp
+++ b/tests/BlurTest.cpp
@@ -291,7 +291,7 @@ static bool gpu_blur_path(GrContextFactory* factory, const SkPath& path,
desc.fHeight = 30;
desc.fSampleCnt = 0;
- SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0));
+ SkAutoTUnref<GrTexture> texture(grContext->createTexture(desc, false, NULL, 0));
SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get())));
SkCanvas canvas(device.get());