diff options
Diffstat (limited to 'tests/GrMipMappedTest.cpp')
-rw-r--r-- | tests/GrMipMappedTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/GrMipMappedTest.cpp b/tests/GrMipMappedTest.cpp index 04bcca7c4d..df1e8ee901 100644 --- a/tests/GrMipMappedTest.cpp +++ b/tests/GrMipMappedTest.cpp @@ -155,6 +155,10 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrBackendTextureImageMipMappedTest, reporter, return; } + if (GrSurfaceProxy::LazyState::kNot != genProxy->lazyInstantiationState()) { + genProxy->priv().doLazyInstantiation(context->contextPriv().resourceProvider()); + } + REPORTER_ASSERT(reporter, genProxy->priv().isInstantiated()); GrTexture* genTexture = genProxy->priv().peekTexture(); |