diff options
-rw-r--r-- | src/gpu/GrAHardwareBufferImageGenerator.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/GrAHardwareBufferImageGenerator.cpp b/src/gpu/GrAHardwareBufferImageGenerator.cpp index 9edc25c6bd..f48e2913a1 100644 --- a/src/gpu/GrAHardwareBufferImageGenerator.cpp +++ b/src/gpu/GrAHardwareBufferImageGenerator.cpp @@ -191,11 +191,8 @@ sk_sp<GrTextureProxy> GrAHardwareBufferImageGenerator::makeProxy(GrContext* cont eglDestroyImageKHR(display, image); return nullptr; } - GrBackendTextureFlags flags = kNone_GrBackendTextureFlag; sk_sp<GrTexture> tex = context->resourceProvider()->wrapBackendTexture(backendTex, kTopLeft_GrSurfaceOrigin, - flags, - 0, kAdopt_GrWrapOwnership); if (!tex) { glDeleteTextures(1, &texID); |