|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
// Important note to the reader who wish to integrate imgui_impl_vulkan.cpp/.h in their own engine/app.
|
|
|
|
|
// - Common ImGui_ImplVulkan_XXX functions and structures are used to interface with imgui_impl_vulkan.cpp/.h.
|
|
|
|
|
// You will use those if you want to use this rendering back-end in your engine/app.
|
|
|
|
|
// - Helper ImGui_ImplVulkanH_XXX functions and structures are only used by this example (main.cpp) and by
|
|
|
|
|
// - Helper ImGui_ImplVulkanH_XXX functions and structures are only used by this example (main.cpp) and by
|
|
|
|
|
// the back-end itself (imgui_impl_vulkan.cpp), but should PROBABLY NOT be used by your own engine/app code.
|
|
|
|
|
// Read comments in imgui_impl_vulkan.h.
|
|
|
|
|
|
|
|
|
@ -116,9 +116,9 @@ struct ImGui_ImplVulkanH_Window
|
|
|
|
|
ImGui_ImplVulkanH_Frame* Frames;
|
|
|
|
|
ImGui_ImplVulkanH_FrameSemaphores* FrameSemaphores;
|
|
|
|
|
|
|
|
|
|
ImGui_ImplVulkanH_Window()
|
|
|
|
|
{
|
|
|
|
|
memset(this, 0, sizeof(*this));
|
|
|
|
|
ImGui_ImplVulkanH_Window()
|
|
|
|
|
{
|
|
|
|
|
memset(this, 0, sizeof(*this));
|
|
|
|
|
PresentMode = VK_PRESENT_MODE_MAX_ENUM_KHR;
|
|
|
|
|
ClearEnable = true;
|
|
|
|
|
}
|
|
|
|
|