Index: src/gpu/vk/GrVkImage.cpp |
diff --git a/src/gpu/vk/GrVkImage.cpp b/src/gpu/vk/GrVkImage.cpp |
index 11e27ed66404575200852c7603887bdfff224f6c..a7fe478c4fcd7414afc4d9e8b236eb3c4d043865 100644 |
--- a/src/gpu/vk/GrVkImage.cpp |
+++ b/src/gpu/vk/GrVkImage.cpp |
@@ -44,7 +44,7 @@ void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, |
VkImageAspectFlags aspectFlags = vk_format_to_aspect_flags(fInfo.fFormat); |
VkImageMemoryBarrier imageMemoryBarrier = { |
VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, // sType |
- NULL, // pNext |
+ nullptr, // pNext |
srcAccessMask, // outputMask |
dstAccessMask, // inputMask |
currentLayout, // oldLayout |