Examples: Setting up style before bindings, so in complex binding (vulkan/dx12) it isn't miles away from the context creation.

This commit is contained in:
omar
2018-12-20 22:58:34 +01:00
parent b471813f54
commit d5b22fb635
15 changed files with 58 additions and 60 deletions

View File

@ -26,11 +26,9 @@
IMGUI_CHECKVERSION();
ImGui::CreateContext();
(void)ImGui::GetIO();
ImGui_ImplMetal_Init(_device);
ImGui::StyleColorsDark();
ImGui_ImplMetal_Init(_device);
}
return self;