aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAHardwareBufferImageGenerator.cpp
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2017-07-20 09:34:52 -0400
committerGravatar Leon Scroggins <scroggo@google.com>2017-07-20 13:40:49 +0000
commitaf1813e3bf617edc663bef2e5bb07d3f5eb4da2e (patch)
tree9a19994264c8028e2903c0bc3eca92399d53272f /src/gpu/GrAHardwareBufferImageGenerator.cpp
parentd62f5541f23ec199d2cafe0dc6ced1bf47acce8e (diff)
Update call to new signature of wrapBackendTexture
d17f6584df9e48146dac28a1df56fb4978de6ba3 dropped flags and sampleCount, and GrBackendTextureFlags itself. Drop these here to fix the Android build. Change-Id: I44e65b8eba79d8d2a9db9f64b2323f2ba006a8eb Reviewed-on: https://skia-review.googlesource.com/24866 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrAHardwareBufferImageGenerator.cpp')
-rw-r--r--src/gpu/GrAHardwareBufferImageGenerator.cpp3
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);