From a522e174bd2941acdc6a827ba578aa974db90fe5 Mon Sep 17 00:00:00 2001 From: Johannes Schneider Date: Wed, 17 Jul 2024 23:41:39 +0200 Subject: [PATCH] [WIP] Work in progress --- src/vulkan-renderer/renderers/imgui.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vulkan-renderer/renderers/imgui.cpp b/src/vulkan-renderer/renderers/imgui.cpp index 0bb5508e6..cc46afd42 100644 --- a/src/vulkan-renderer/renderers/imgui.cpp +++ b/src/vulkan-renderer/renderers/imgui.cpp @@ -147,10 +147,6 @@ ImGuiRenderer::ImGuiRenderer(const Device &device, m_on_update_user_data(); return; } - if (m_vertex_buffer.lock()->m_buffer == VK_NULL_HANDLE || - m_index_buffer.lock()->m_buffer == VK_NULL_HANDLE) { - return; - } const ImGuiIO &io = ImGui::GetIO(); m_push_const_block.scale = glm::vec2(2.0f / io.DisplaySize.x, 2.0f / io.DisplaySize.y);