Index: tools/vulkan/VulkanTestContext.cpp |
diff --git a/tools/vulkan/VulkanTestContext.cpp b/tools/vulkan/VulkanTestContext.cpp |
index 0e07734fd13a00018c8b595b135e73d89913688d..e9137c0ee32a9fa05c630e5da9a6535530d05f54 100644 |
--- a/tools/vulkan/VulkanTestContext.cpp |
+++ b/tools/vulkan/VulkanTestContext.cpp |
@@ -240,7 +240,7 @@ void VulkanTestContext::createBuffers(VkFormat format) { |
GrBackendRenderTargetDesc desc; |
GrVkTextureInfo info; |
info.fImage = fImages[i]; |
- info.fAlloc = nullptr; |
+ info.fAlloc = VK_NULL_HANDLE; |
info.fImageLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; |
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL; |
info.fFormat = format; |