Vulkan UI: Proper transitions for frontbuffer

This commit is contained in:
DrChat
2017-02-12 21:41:21 -06:00
parent 7a9c33fcfe
commit c3b9d6acf8
2 changed files with 9 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ class VulkanSwapChain {
private:
struct Buffer {
VkImage image = nullptr;
VkImageLayout image_layout = VK_IMAGE_LAYOUT_UNDEFINED;
VkImageView image_view = nullptr;
VkFramebuffer framebuffer = nullptr;
};