mirror of https://github.com/WerWolv/ImHex.git
sys: Lowered required GLSL version to OpenGL 3.0
This commit is contained in:
parent
59449bbe47
commit
f94b36f415
|
@ -201,7 +201,7 @@ namespace hex::init {
|
||||||
ImGui::StyleColorsDark();
|
ImGui::StyleColorsDark();
|
||||||
|
|
||||||
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
||||||
ImGui_ImplOpenGL3_Init("#version 150");
|
ImGui_ImplOpenGL3_Init("#version 130");
|
||||||
|
|
||||||
auto &io = ImGui::GetIO();
|
auto &io = ImGui::GetIO();
|
||||||
|
|
||||||
|
|
|
@ -742,7 +742,7 @@ namespace hex {
|
||||||
|
|
||||||
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
ImGui_ImplGlfw_InitForOpenGL(this->m_window, true);
|
||||||
|
|
||||||
ImGui_ImplOpenGL3_Init("#version 150");
|
ImGui_ImplOpenGL3_Init("#version 130");
|
||||||
|
|
||||||
for (const auto &plugin : PluginManager::getPlugins())
|
for (const auto &plugin : PluginManager::getPlugins())
|
||||||
plugin.setImGuiContext(ImGui::GetCurrentContext());
|
plugin.setImGuiContext(ImGui::GetCurrentContext());
|
||||||
|
|
Loading…
Reference in New Issue