Index: tools/viewer/sk_app/VulkanWindowContext.cpp |
diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp |
index 84f0dfbf99b46706977cfaf951628ee7b8db43ea..9bcf6ca25d41c0fe099c4c33e6029b3cb6c3777d 100644 |
--- a/tools/viewer/sk_app/VulkanWindowContext.cpp |
+++ b/tools/viewer/sk_app/VulkanWindowContext.cpp |
@@ -265,7 +265,7 @@ void VulkanWindowContext::createBuffers(VkFormat format) { |
GrBackendRenderTargetDesc desc; |
GrVkImageInfo info; |
info.fImage = fImages[i]; |
- info.fAlloc = { VK_NULL_HANDLE, 0 }; |
+ info.fAlloc = { VK_NULL_HANDLE, 0, 0 }; |
info.fImageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; |
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL; |
info.fFormat = format; |