16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 19:29:19 +02:00

Merge branch 'milek-dev' into gfx-work

This commit is contained in:
milek7
2018-09-20 22:07:56 +02:00
39 changed files with 2994 additions and 2168 deletions

View File

@@ -130,7 +130,7 @@ bool ui_layer::init(GLFWwindow *Window)
m_map = std::make_unique<map>();
ImGui_ImplGlfw_InitForOpenGL(m_window);
ImGui_ImplOpenGL3_Init("#version 140");
ImGui_ImplOpenGL3_Init("#version 130");
ImGui::StyleColorsClassic();
ImGui_ImplOpenGL3_NewFrame();
@@ -143,6 +143,7 @@ bool ui_layer::init(GLFWwindow *Window)
void ui_layer::shutdown()
{
ImGui::EndFrame();
ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplGlfw_Shutdown();
ImGui::DestroyContext();