Fixes imgui setup init
This commit is contained in:
@@ -33,7 +33,7 @@ namespace fgl::editor
|
||||
ImGui::CreateContext();
|
||||
[[maybe_unused]] ImGuiIO& io { ImGui::GetIO() };
|
||||
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
|
||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||
// io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||
// io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
||||
io.ConfigWindowsResizeFromEdges = true;
|
||||
|
||||
@@ -62,12 +62,12 @@ namespace fgl::editor
|
||||
.MinImageCount = 2,
|
||||
.ImageCount = 2,
|
||||
.PipelineCache = VK_NULL_HANDLE,
|
||||
.RenderPass = VK_NULL_HANDLE,
|
||||
.Subpass = 0,
|
||||
.MSAASamples = VK_SAMPLE_COUNT_1_BIT,
|
||||
.PipelineInfoMain = { .RenderPass = VK_NULL_HANDLE,
|
||||
.Subpass = 0,
|
||||
.MSAASamples = VK_SAMPLE_COUNT_1_BIT,
|
||||
.PipelineRenderingCreateInfo = pipeline_info },
|
||||
|
||||
.UseDynamicRendering = VK_TRUE,
|
||||
.PipelineRenderingCreateInfo = pipeline_info,
|
||||
|
||||
.Allocator = VK_NULL_HANDLE,
|
||||
.CheckVkResultFn = VK_NULL_HANDLE,
|
||||
|
||||
Reference in New Issue
Block a user