mirror of https://github.com/WerWolv/ImHex.git
parent
55d046fa36
commit
c8edb6ec6c
|
@ -206,7 +206,12 @@ namespace hex::init {
|
|||
ImGui::StyleColorsDark();
|
||||
|
||||
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
||||
ImGui_ImplOpenGL3_Init("#version 130");
|
||||
|
||||
#if defined(OS_MACOS)
|
||||
ImGui_ImplOpenGL3_Init("#version 150");
|
||||
#else
|
||||
ImGui_ImplOpenGL3_Init("#version 130");
|
||||
#endif
|
||||
|
||||
auto &io = ImGui::GetIO();
|
||||
|
||||
|
|
|
@ -744,7 +744,11 @@ namespace hex {
|
|||
|
||||
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
||||
|
||||
ImGui_ImplOpenGL3_Init("#version 130");
|
||||
#if defined(OS_MACOS)
|
||||
ImGui_ImplOpenGL3_Init("#version 150");
|
||||
#else
|
||||
ImGui_ImplOpenGL3_Init("#version 130");
|
||||
#endif
|
||||
|
||||
for (const auto &plugin : PluginManager::getPlugins())
|
||||
plugin.setImGuiContext(ImGui::GetCurrentContext());
|
||||
|
|
Loading…
Reference in New Issue