Index: tests/GrTextureMipMapInvalidationTest.cpp |
diff --git a/tests/GrTextureMipMapInvalidationTest.cpp b/tests/GrTextureMipMapInvalidationTest.cpp |
index f046f8ff6b120186c47edbed50911288c2fd8aaf..092a679d589afc93180be1f9fc37555b0e1cdeef 100644 |
--- a/tests/GrTextureMipMapInvalidationTest.cpp |
+++ b/tests/GrTextureMipMapInvalidationTest.cpp |
@@ -29,7 +29,10 @@ DEF_GPUTEST(GrTextureMipMapInvalidationTest, reporter, factory) { |
desc.fWidth = 256; |
desc.fHeight = 256; |
desc.fSampleCnt = 0; |
+ |
GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, nullptr, 0); |
+ texRT1->setFromRawPixels(true); |
+ texRT1->setException(true); |
GrSurface* texRT2 = context->textureProvider()->createTexture(desc, false, nullptr, 0); |
REPORTER_ASSERT(reporter, nullptr != texRT1); |
REPORTER_ASSERT(reporter, nullptr != texRT2); |