Update call to new signature of wrapBackendTexture

d17f6584df 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>
This commit is contained in:
Leon Scroggins III 2017-07-20 09:34:52 -04:00 committed by Leon Scroggins
parent d62f5541f2
commit af1813e3bf

View File

@ -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);