Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing for Rml 5.* releases Vulkan issue #601

Merged
merged 10 commits into from
Mar 18, 2024
4 changes: 2 additions & 2 deletions Backends/RmlUi_Renderer_VK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2660,10 +2660,10 @@ void RenderInterface_VK::Update_PendingForDeletion_Geometries() noexcept

void RenderInterface_VK::Submit() noexcept
{
const VkSemaphore p_semaphores_wait[] = {m_semaphores_image_available[m_semaphore_index_previous]};
const VkSemaphore p_semaphores_wait[] = {m_semaphores_image_available[m_semaphore_index]};
const VkSemaphore p_semaphores_signal[] = {m_semaphores_finished_render[m_semaphore_index]};

VkFence p_fence = m_executed_fences[m_semaphore_index_previous];
VkFence p_fence = m_executed_fences[m_semaphore_index];

VkPipelineStageFlags submit_wait_stage = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;

Expand Down
2 changes: 1 addition & 1 deletion Backends/RmlUi_Renderer_VK.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ RMLUI_DISABLE_ALL_COMPILER_WARNINGS_POP
* and delete operations every frame (CPU side), on GPU we implemented the pre-allocated buffer with virtual allocs (Vma) so there's no problems and
* all fine. I wrote all ideas and implementation for that.
*
* @author wh1t3lord
* @author wh1t3lord (https://github.com/wh1t3lord)
*/

class RenderInterface_VK : public Rml::RenderInterface {
Expand Down
Loading