From 67cedbb531e1a4c1f81e238c8e64367e90036edf Mon Sep 17 00:00:00 2001 From: Martin Hammerchmidt Date: Mon, 10 Aug 2020 11:04:26 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2387954..737cf6d 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Vulkan-Hpp provides constructors for all CreateInfo objects which accept one par vk::ImageCreateInfo ci({}, vk::ImageType::e2D, vk::Format::eR8G8B8A8Unorm, { width, height, 1 }, 1, 1, vk::SampleCountFlagBits::e1, - vk::ImageTiling::eOptimal, vk::ImageUsageFlagBit::eColorAttachment, + vk::ImageTiling::eOptimal, vk::ImageUsageFlagBits::eColorAttachment, vk::SharingMode::eExclusive, 0, nullptr, vk::ImageLayout::eUndefined); vk::Image image = device.createImage(ci); ```