aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/RecordReplaceDrawTest.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/RecordReplaceDrawTest.cpp
parent02c8fd0ad5e5279004dd49ec49fbae00f8522ec0 (diff)
One createTexture function, attempt to recycle scratch in createTexture.
Diffstat (limited to 'tests/RecordReplaceDrawTest.cpp')
-rw-r--r--tests/RecordReplaceDrawTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp
index bbf01686d0..55f47cee6c 100644
--- a/tests/RecordReplaceDrawTest.cpp
+++ b/tests/RecordReplaceDrawTest.cpp
@@ -124,7 +124,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool useBBH) {
desc.fHeight = kHeight;
desc.fSampleCnt = 0;
- SkAutoTUnref<GrTexture> texture(context->createUncachedTexture(desc, NULL, 0));
+ SkAutoTUnref<GrTexture> texture(context->createTexture(desc, false, NULL, 0));
layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight));
SkAutoTUnref<SkBBoxHierarchy> bbh;