ImGUI is now gone.
This commit is contained in:
parent
196b3098e8
commit
c821ab52a1
4 changed files with 1 additions and 112 deletions
|
|
@ -35,7 +35,6 @@ void VulkanEngine::init()
|
|||
init_sync_structures();
|
||||
init_descriptors();
|
||||
init_pipelines();
|
||||
_gui.init_imgui(VulkanEngine::Get());
|
||||
init_default_data();
|
||||
|
||||
//everything went fine
|
||||
|
|
@ -169,9 +168,6 @@ void VulkanEngine::draw()
|
|||
// ZED: ?
|
||||
vkutil::transition_image(t.cmd, _swapchainImages[t.swapchainImageIndex], VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL);
|
||||
|
||||
// ZED: end drawing the things
|
||||
_gui.draw_imgui(_swapchainExtent, t.cmd, _swapchainImageViews[t.swapchainImageIndex]);
|
||||
|
||||
// ZED: finalize image and commit command buffer
|
||||
vkutil::transition_image(t.cmd, _swapchainImages[t.swapchainImageIndex], VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR);
|
||||
|
||||
|
|
@ -260,7 +256,6 @@ void VulkanEngine::run()
|
|||
continue;
|
||||
}
|
||||
|
||||
_gui.render_imgui(backgroundEffects, ¤tBackgroundEffect);
|
||||
draw();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue