diff options
Diffstat (limited to 'ports/libigl/fix-imgui-set-cond.patch')
| -rw-r--r-- | ports/libigl/fix-imgui-set-cond.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ports/libigl/fix-imgui-set-cond.patch b/ports/libigl/fix-imgui-set-cond.patch deleted file mode 100644 index 964f6f3f4..000000000 --- a/ports/libigl/fix-imgui-set-cond.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
-index 47de4870..7e6f13a8 100644
---- a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
-+++ b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
-@@ -167,8 +167,8 @@ IGL_INLINE void ImGuiMenu::draw_menu()
- IGL_INLINE void ImGuiMenu::draw_viewer_window()
- {
- float menu_width = 180.f * menu_scaling();
-- ImGui::SetNextWindowPos(ImVec2(0.0f, 0.0f), ImGuiSetCond_FirstUseEver);
-- ImGui::SetNextWindowSize(ImVec2(0.0f, 0.0f), ImGuiSetCond_FirstUseEver);
-+ ImGui::SetNextWindowPos(ImVec2(0.0f, 0.0f), ImGuiCond_FirstUseEver);
-+ ImGui::SetNextWindowSize(ImVec2(0.0f, 0.0f), ImGuiCond_FirstUseEver);
- ImGui::SetNextWindowSizeConstraints(ImVec2(menu_width, -1.0f), ImVec2(menu_width, -1.0f));
- bool _viewer_menu_visible = true;
- ImGui::Begin(
-@@ -310,8 +310,8 @@ IGL_INLINE void ImGuiMenu::draw_viewer_menu()
- IGL_INLINE void ImGuiMenu::draw_labels_window()
- {
- // Text labels
-- ImGui::SetNextWindowPos(ImVec2(0,0), ImGuiSetCond_Always);
-- ImGui::SetNextWindowSize(ImGui::GetIO().DisplaySize, ImGuiSetCond_Always);
-+ ImGui::SetNextWindowPos(ImVec2(0,0), ImGuiCond_Always);
-+ ImGui::SetNextWindowSize(ImGui::GetIO().DisplaySize, ImGuiCond_Always);
- bool visible = true;
- ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(0,0,0,0));
- ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0);
|
