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:
parent
6ac5310dfa
commit
1456aff211
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user