Fix android framework build in GrVkOpsRenderPass.

Bug: skia:11809
Change-Id: I1c35df8d78c676f5809a96d09c0493747afd11f2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/397479
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
This commit is contained in:
Greg Daniel 2021-04-16 14:21:27 -04:00
parent 6ac5310dfa
commit 1456aff211

View File

@ -851,7 +851,7 @@ void GrVkOpsRenderPass::onExecuteDrawable(std::unique_ptr<SkDrawable::GpuDrawHan
vkInfo.fFormat = fFramebuffer->colorAttachment()->imageFormat();
vkInfo.fDrawBounds = &bounds;
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
vkInfo.fImage = targetImage->image();
vkInfo.fImage = fFramebuffer->colorAttachment()->image();
#else
vkInfo.fImage = VK_NULL_HANDLE;
#endif //SK_BUILD_FOR_ANDROID_FRAMEWORK