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:
parent
d62f5541f2
commit
af1813e3bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user