aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2015-11-20 14:13:17 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-01 10:18:23 -0700
commitcff001a8790f13cfc4dfc9f9d37c9d05230a3b82 (patch)
treed6a58ef7225fc00288d8bfb47443cd6882101b3a /layers/image.cpp
parentd3f7dcc6abb811167332db2c5797d9e78ddb4e23 (diff)
downloadusermoji-cff001a8790f13cfc4dfc9f9d37c9d05230a3b82.tar.xz
layers: Convert most of the layers to the new WSI.
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)