Skip to content

Commit

Permalink
[WIP] Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmNotHanni committed Jul 17, 2024
1 parent fffd0c6 commit a522e17
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/vulkan-renderer/renderers/imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a522e17

Please sign in to comment.