]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libigl/fix-imgui-set-cond.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libigl / fix-imgui-set-cond.patch
1 diff --git a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
2 index 47de4870..7e6f13a8 100644
3 --- a/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
4 +++ b/include/igl/opengl/glfw/imgui/ImGuiMenu.cpp
5 @@ -167,8 +167,8 @@ IGL_INLINE void ImGuiMenu::draw_menu()
6 IGL_INLINE void ImGuiMenu::draw_viewer_window()
7 {
8 float menu_width = 180.f * menu_scaling();
9 - ImGui::SetNextWindowPos(ImVec2(0.0f, 0.0f), ImGuiSetCond_FirstUseEver);
10 - ImGui::SetNextWindowSize(ImVec2(0.0f, 0.0f), ImGuiSetCond_FirstUseEver);
11 + ImGui::SetNextWindowPos(ImVec2(0.0f, 0.0f), ImGuiCond_FirstUseEver);
12 + ImGui::SetNextWindowSize(ImVec2(0.0f, 0.0f), ImGuiCond_FirstUseEver);
13 ImGui::SetNextWindowSizeConstraints(ImVec2(menu_width, -1.0f), ImVec2(menu_width, -1.0f));
14 bool _viewer_menu_visible = true;
15 ImGui::Begin(
16 @@ -310,8 +310,8 @@ IGL_INLINE void ImGuiMenu::draw_viewer_menu()
17 IGL_INLINE void ImGuiMenu::draw_labels_window()
18 {
19 // Text labels
20 - ImGui::SetNextWindowPos(ImVec2(0,0), ImGuiSetCond_Always);
21 - ImGui::SetNextWindowSize(ImGui::GetIO().DisplaySize, ImGuiSetCond_Always);
22 + ImGui::SetNextWindowPos(ImVec2(0,0), ImGuiCond_Always);
23 + ImGui::SetNextWindowSize(ImGui::GetIO().DisplaySize, ImGuiCond_Always);
24 bool visible = true;
25 ImGui::PushStyleColor(ImGuiCol_WindowBg, ImVec4(0,0,0,0));
26 ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0);