diff options
Diffstat (limited to 'tests/OnFlushCallbackTest.cpp')
-rw-r--r-- | tests/OnFlushCallbackTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index e980e9928a..463e44f194 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -477,7 +477,7 @@ sk_sp<GrTextureProxy> pre_create_atlas(GrContext* context) { save_bm(bm, "atlas-fake.png"); #endif - GrSurfaceDesc desc = GrImageInfoToSurfaceDesc(bm.info(), *context->caps()); + GrSurfaceDesc desc = GrImageInfoToSurfaceDesc(bm.info()); desc.fFlags |= kRenderTarget_GrSurfaceFlag; sk_sp<GrSurfaceProxy> tmp = GrSurfaceProxy::MakeDeferred(*context->caps(), |