Index: tools/viewer/sk_app/VulkanWindowContext.cpp |
diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp |
index f192c697e82b9db62875603bdd43d420700617da..84f0dfbf99b46706977cfaf951628ee7b8db43ea 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; |
+ info.fAlloc = { VK_NULL_HANDLE, 0 }; |
info.fImageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; |
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL; |
info.fFormat = format; |