diff options
Diffstat (limited to 'tests/LazyProxyTest.cpp')
-rw-r--r-- | tests/LazyProxyTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/LazyProxyTest.cpp b/tests/LazyProxyTest.cpp index c048ea6a28..b8e672a55f 100644 --- a/tests/LazyProxyTest.cpp +++ b/tests/LazyProxyTest.cpp @@ -430,6 +430,10 @@ DEF_GPUTEST(LazyProxyUninstantiateTest, reporter, /* options */) { REPORTER_ASSERT(reporter, lazyProxy.get()); + // We can't pass the fact that this creates a wrapped texture into createLazyProxy so we + // need to manually call setDoesNotSupportMipMaps. + lazyProxy->texPriv().setDoesNotSupportMipMaps(); + rtc->priv().testingOnly_addDrawOp(skstd::make_unique<LazyUninstantiateTestOp>(lazyProxy)); ctx->flush(); |