Jelajahi Sumber

Fixed build.

Бранимир Караџић 4 tahun lalu
induk
melakukan
0123d43c96
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 2 2
      tools/geometryv/geometryv.cpp
  2. 2 2
      tools/texturev/texturev.cpp

+ 2 - 2
tools/geometryv/geometryv.cpp

@@ -1051,7 +1051,7 @@ int _main_(int _argc, char** _argv)
 							;
 
 						ImGui::PushItemWidth(-1);
-						if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) )
+						if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) )
 						{
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 
@@ -1089,7 +1089,7 @@ int _main_(int _argc, char** _argv)
 
 							clipper.End();
 
-							ImGui::ListBoxFooter();
+							ImGui::EndListBox();
 						}
 
 						ImGui::PopFont();

+ 2 - 2
tools/texturev/texturev.cpp

@@ -1832,7 +1832,7 @@ int _main_(int _argc, char** _argv)
 							;
 
 						ImGui::PushItemWidth(-1);
-						if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) )
+						if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) )
 						{
 							const int32_t itemCount = int32_t(view.m_fileList.size() );
 
@@ -1870,7 +1870,7 @@ int _main_(int _argc, char** _argv)
 
 							clipper.End();
 
-							ImGui::ListBoxFooter();
+							ImGui::EndListBox();
 						}
 
 						ImGui::PopFont();