Vulkan: Fix present semaphores reuse
Fixes validation errors. See https://docs.vulkan.org/guide/latest/swapchain_semaphore_reuse.html
This commit is contained in:
1 parent
5cc0a5a3be
commit
b80e178403
4 files changed
+35
-22
No files matched your search
@@ -39,6 +39,7 @@ public:
|
||||
u32 GetHeight() const { return m_height; }
|
||||
u32 GetCurrentImageIndex() const { return m_current_swap_chain_image_index; }
|
||||
bool IsCurrentImageValid() const { return m_current_swap_chain_image_is_valid; }
|
||||
size_t GetSwapChainImageCount() const { return m_swap_chain_images.size(); }
|
||||
VkImage GetCurrentImage() const
|
||||
{
|
||||
return m_swap_chain_images[m_current_swap_chain_image_index].image;
|
||||
|
||||
Reference in new issue
Block a user