mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 13:39:18 +02:00
Merge branch 'milek-dev' into gfx-work
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user