Skip to content

Commit e28339b

Browse files
authored
Fix synchronization bug in Vulkan backend, fixes #861 (#874)
1 parent 96a12a4 commit e28339b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Backends/RmlUi_Renderer_VK.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@ void RenderInterface_VK::Update_PendingForDeletion_Geometries() noexcept
26462646

26472647
void RenderInterface_VK::Submit() noexcept
26482648
{
2649-
const VkSemaphore p_semaphores_wait[] = {m_semaphores_image_available[m_semaphore_index]};
2649+
const VkSemaphore p_semaphores_wait[] = {m_semaphores_image_available[m_semaphore_index_previous]};
26502650
const VkSemaphore p_semaphores_signal[] = {m_semaphores_finished_render[m_semaphore_index]};
26512651

26522652
VkFence p_fence = m_executed_fences[m_semaphore_index];

0 commit comments

Comments
 (0)