|
|
@ -76,8 +76,9 @@ int main(int, char**) |
|
|
|
IMGUI_CHECKVERSION(); |
|
|
|
IMGUI_CHECKVERSION(); |
|
|
|
ImGui::CreateContext(); |
|
|
|
ImGui::CreateContext(); |
|
|
|
ImGuiIO& io = ImGui::GetIO(); (void)io; |
|
|
|
ImGuiIO& io = ImGui::GetIO(); (void)io; |
|
|
|
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
|
|
|
|
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
|
|
|
|
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
|
|
|
|
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
|
|
|
|
|
|
|
|
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
|
|
|
|
|
|
|
|
|
|
|
|
ImGui_ImplGlfw_InitForOpenGL(window, true); |
|
|
|
ImGui_ImplGlfw_InitForOpenGL(window, true); |
|
|
|
ImGui_ImplOpenGL3_Init(glsl_version); |
|
|
|
ImGui_ImplOpenGL3_Init(glsl_version); |
|
|
|