aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ClearTest.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-05-04 12:47:41 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-04 12:47:41 -0700
commit76948d4faaca9fd7730576e2f79790ca8d93c10b (patch)
tree702a78ad811ecb9ab0f96d07eee64ecdf8191bd1 /tests/ClearTest.cpp
parentc4025189d31efcb0d54bf14b7712b38725f86c13 (diff)
Add Gr*Proxy classes
Diffstat (limited to 'tests/ClearTest.cpp')
-rw-r--r--tests/ClearTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp
index 7a533ba19c..d227cb8073 100644
--- a/tests/ClearTest.cpp
+++ b/tests/ClearTest.cpp
@@ -45,7 +45,7 @@ static bool reset_dc(sk_sp<GrDrawContext>* dc, GrContext* context, int w, int h)
}
context->freeGpuResources();
- *dc = context->newDrawContext(GrContext::kTight_BackingFit, w, h, kRGBA_8888_GrPixelConfig);
+ *dc = context->newDrawContext(SkBackingFit::kExact, w, h, kRGBA_8888_GrPixelConfig);
SkASSERT((*dc)->accessRenderTarget()->getUniqueID() != oldID);