diff options
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index 7932fdc458..e2f6fbf9e1 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -300,7 +300,7 @@ public: return fAtlasProxy; } - fAtlasProxy = proxyProvider->createFullyLazyProxy( + fAtlasProxy = GrProxyProvider::MakeFullyLazyProxy( [](GrResourceProvider* resourceProvider) { if (!resourceProvider) { return sk_sp<GrTexture>(); @@ -319,7 +319,8 @@ public: }, GrProxyProvider::Renderable::kYes, kBottomLeft_GrSurfaceOrigin, - kRGBA_8888_GrPixelConfig); + kRGBA_8888_GrPixelConfig, + *proxyProvider->caps()); return fAtlasProxy; } |