aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkpSkGrTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SkpSkGrTest.cpp')
-rw-r--r--tests/SkpSkGrTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SkpSkGrTest.cpp b/tests/SkpSkGrTest.cpp
index 24d1b9cc3a..898faf08a7 100644
--- a/tests/SkpSkGrTest.cpp
+++ b/tests/SkpSkGrTest.cpp
@@ -442,7 +442,7 @@ void TestResult::testOne() {
desc.fFlags = kRenderTarget_GrTextureFlagBit;
desc.fWidth = dim.fX;
desc.fHeight = dim.fY;
- desc.fSampleCnt = 0;
+ desc.fSampleCnt = 1;
sk_sp<GrTexture> texture(context->createUncachedTexture(desc, nullptr, 0));
if (!texture) {
SkDebugf("unable to allocate texture for %s (w=%d h=%d)\n", fFilename,