Index: tools/viewer/sk_app/VulkanWindowContext.cpp |
diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp |
index 589a7b8c1ce063e0df01b2c8ae2ba2068bfcac64..8d7dceeb8c45952456dc8ab2b726b866f7fcabec 100644 |
--- a/tools/viewer/sk_app/VulkanWindowContext.cpp |
+++ b/tools/viewer/sk_app/VulkanWindowContext.cpp |
@@ -262,7 +262,7 @@ void VulkanWindowContext::createBuffers(VkFormat format) { |
GrBackendRenderTargetDesc desc; |
GrVkImageInfo info; |
info.fImage = fImages[i]; |
- info.fAlloc = { VK_NULL_HANDLE, 0, 0 }; |
+ info.fAlloc = { VK_NULL_HANDLE, 0, 0, 0 }; |
info.fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED; |
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL; |
info.fFormat = format; |