aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/image.cpp')
-rw-r--r--layers/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/image.cpp b/layers/image.cpp
index 662dd0a1..811467f5 100644
--- a/layers/image.cpp
+++ b/layers/image.cpp
@@ -263,7 +263,7 @@ bool is_depth_format(VkFormat format)
static inline uint32_t validate_VkImageLayoutKHR(VkImageLayout input_value)
{
return ((validate_VkImageLayout(input_value) == 1) ||
- (input_value == VK_IMAGE_LAYOUT_PRESENT_SOURCE_KHR));
+ (input_value == VK_IMAGE_LAYOUT_PRESENT_SRC_KHR));
}
VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkCreateImage(VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage)